Posted July 23, 20214 yr Hey, I've got a problem im really stuck on since yesterday. After setting up a new forge project, gradle is not able to download fastutil. I tried several things one being downloading it through the internet and put it into the gradle folders directly, but since I don't know much about how gradle works exactly I don't really know what I should do. Does anyone have the same problem or knows how to fix it? Gradle Log: https://sourceb.in/ncO3jhtieP
December 28, 20213 yr I am assuming you want the 5.0.9 version, no? First, you must find the artifact string from mavencentral, I already found it for you: 'fastutil:fastutil:5.0.9' Then, you must add "implementation 'fastutil:fastutil:5.0.9'" in the "dependencies" block in build.gradle (Make sure your repositories block has "mavenCentral()" in it) So the final code should be: repositories { mavenCentral() // NOTE: Only include this if it isn't already there. // Other repositories } dependencies { implementation 'fastutil:fastutil:5.0.9' // Other dependencies such as forge, minecraft, etc. }
December 28, 20213 yr NOTE THAT: If you now send over your mod to someone else, they will have to install fastutil manually. If you want it to be included automatically, please check out this post: https://forums.minecraftforge.net/topic/104978-problems-with-shadowing-javafxopenjfx-into-my-mod-jar/?do=findComment&comment=479029
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.