Posted March 27, 20178 yr I found a tutorial for 1.8 but doesn't seem to work :\,and ilexiconn.net seems to be on sale or down, i really need help, it's 6 days now. Edited February 22, 20187 yr by TheRPGAdventurer
March 30, 20178 yr You can specify your dependencies in the build.gradle. The default one from the Forge MDK has a section with some examples. https://github.com/MinecraftForge/MinecraftForge/blob/1.11.x/mdk/build.gradle#L36 Here's a line from Jurrassicraft 2's build.gradlehttps://github.com/gegy1000/JurassiCraft2/blob/master/build.gradle#L37 Please note that you will also probably need to add the maven information for this to your build gradle too. https://github.com/gegy1000/JurassiCraft2/blob/master/build.gradle#L30 That will get you to the point where you can compile code, however for your jar file to work properly in the wild you will need to add LLibrary as a dependency to your mod. There is an example on this page. You need specify the version you are compiling against. https://minecraft.curseforge.com/projects/llibrary Understanding how versioning works at times like this comes in handy too. Please take a look at this: http://semver.org/ Sorry for all the links. Edited April 1, 20178 yr by Aeronica
February 17, 20187 yr Author On 3/30/2017 at 8:01 PM, Aeronica said: You can specify your dependencies in the build.gradle. The default one from the Forge MDK has a section with some examples. https://github.com/MinecraftForge/MinecraftForge/blob/1.11.x/mdk/build.gradle#L36 Here's a line from Jurrassicraft 2's build.gradlehttps://github.com/gegy1000/JurassiCraft2/blob/master/build.gradle#L37 Please note that you will also probably need to add the maven information for this to your build gradle too. https://github.com/gegy1000/JurassiCraft2/blob/master/build.gradle#L30 That will get you to the point where you can compile code, however for your jar file to work properly in the wild you will need to add LLibrary as a dependency to your mod. There is an example on this page. You need specify the version you are compiling against. https://minecraft.curseforge.com/projects/llibrary Understanding how versioning works at times like this comes in handy too. Please take a look at this: http://semver.org/ Sorry for all the links. Sorry for necroing but if I rerun the gradlew setupdecompworkspace with the llibrary dependencies in the build file, does that automatically download the files of LLibrary.
February 20, 20187 yr It's been a while since I've used LLIbrary, but as long as the maven and dependency options, version, etc., are correct, the specified version of LLiibrary will be downloaded to your development environment when you setup the workspace again. i.e. gradlew setupdecompworkspace
February 20, 20187 yr Author 4 hours ago, Aeronica said: It's been a while since I've used LLIbrary, but as long as the maven and dependency options, version, etc., are correct, the specified version of LLiibrary will be downloaded to your development environment when you setup the workspace again. i.e. gradlew setupdecompworkspace But on my gradlew setupdecompworkspace command prompt it shows an error saying Could not resolve net.Ilesiconn.llibrary 1.7.9 -1.12 also the maven site is down
February 21, 20187 yr gegy1000 is now hosting the LLibrary dev files at a different maven. He needs to update the documentation. Change the maven to https://maven.mcmoddev.com e.g. repositories { mavenCentral() maven { url = "https://maven.mcmoddev.com" } }
February 22, 20187 yr Author 3 hours ago, Aeronica said: gegy1000 is now hosting the LLibrary dev files at a different maven. He needs to update the documentation. Change the maven to https://maven.mcmoddev.com e.g. repositories { mavenCentral() maven { url = "https://maven.mcmoddev.com" } } Hi I solved this manually, I just created a folder called libs and add LLibrary:dev jar in there and rerun gradlew setupdecompworkspace idea or eclipse and add the sources as a folder in there after running the command. Edited February 22, 20187 yr by TheRPGAdventurer
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.