Posted October 25, 201410 yr Hello. I am Elrol. I am using Pam's HarvestCraft to make my own addon for it. Since all of the items have an OreDict entry, I can use the items with out needing to have the src for it. How ever, I want my mod to have Pam's harvestCraft as a dependency. I am coding for 1.7.10, any help is welcome.
October 25, 201410 yr Just add the dependencies param to your @Mod in your main mod class. you can specify before or after by adding "before:" or "after:" before the modid. example: @Mod(modid = "MODID", version="DEV", dependencies="required-after:IC2")
October 27, 201410 yr Author is there any way to have a required version of the mod used for the dependency?
October 27, 201410 yr yes https://github.com/SanAndreasP/BananaDungeons/blob/master/java/de/sanandrew/mods/bananadungeons/util/BananaDungeons.java#L17 Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
October 27, 201410 yr there is a wiki page for addons, it's incomplete but it may become handy http://www.minecraftforge.net/wiki/Developing_Addons_for_Existing_Mods
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.