Posted November 8, 20186 yr i am currently making a mod in two versions however i assue the same way to add a dependancie to a 1.12 mod is tha same way as making it in 1.8 because i have the same mod just for 1.8 user and 1.12 user would anyone be able to help me with including a dependancie i am using the eclipse workspace as setup through gradle Thanks In Advance
November 8, 20186 yr Right-click the project, Build Path -> Configure Build Path. Then click Libraries and Add External JARs to add a dependency.
November 8, 20186 yr Author 14 minutes ago, AntiRix said: Right-click the project, Build Path -> Configure Build Path. Then click Libraries and Add External JARs to add a dependency. i had tryed this however for some reason it wouldnt load the mod for when i loaded the test client provided by forge
November 8, 20186 yr Author after looking into the console a bit i have noticed why it wasnt working it was due to me accidently giveing the mod the same mod id as the dependency the issue now is fixed and my mod is loading fine thankyou for the help
November 9, 20186 yr That’s how you add a jar to your workspace, not how you add a dependency to your mod. You need to tell Forge that you require this mod to be installed. You can also optionally package your dependency inside your mod with gradle About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
November 9, 20186 yr Author 6 hours ago, Cadiboo said: That’s how you add a jar to your workspace, not how you add a dependency to your mod. You need to tell Forge that you require this mod to be installed. You can also optionally package your dependency inside your mod with gradle how would this be done as it is seeming fine but if thats the wrong way might as well fix it
November 10, 20186 yr It works fine in a dev environment, but when you try and play minecraft with the mod, it will not have the mods it needs so it will crash (and because it will not have told Forge that it depends on another mod, it won't be obvious that this is the problem) About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
November 10, 20186 yr Author 12 hours ago, Cadiboo said: It works fine in a dev environment, but when you try and play minecraft with the mod, it will not have the mods it needs so it will crash (and because it will not have told Forge that it depends on another mod, it won't be obvious that this is the problem) what is you recommended way then because i am not particularly sure how it would be done another way
November 10, 20186 yr Take a look at About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
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.