NovaViper Posted July 30, 2015 Posted July 30, 2015 Hey, I decided to use the internal mcmod information instead of using the file. And I need help using the requiredMods parameter, as to what exactly do I put for that? On the file version, your suppose to put the modid of the mod (I'm trying to put Forge but it says it doesn't do strings) My information so far package net.novaviper.zeroquest; import net.minecraft.util.EnumChatFormatting; import net.minecraftforge.common.ForgeVersion; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import net.novaviper.zeroquest.common.lib.Constants; //@formatter:off public class McModInformation { public static void load(FMLPreInitializationEvent event) { // hard-code mod information so don't need mcmod.info file event.getModMetadata().autogenerated = false; // stops it from complaining about missing mcmod.info event.getModMetadata().credits = EnumChatFormatting.BLUE + Constants.credits; event.getModMetadata().authorList.add(EnumChatFormatting.RED + Constants.author); event.getModMetadata().description = EnumChatFormatting.YELLOW + Constants.description; event.getModMetadata().url = Constants.url; event.getModMetadata().logoFile = Constants.logo; event.getModMetadata().requiredMods = ForgeVersion.getVersion(); } } Quote Main Developer and Owner of Zero Quest Visit the Wiki for more information If I helped anyone, please give me a applaud and a thank you!
NovaViper Posted July 30, 2015 Author Posted July 30, 2015 Oh, also I'm wondering the same thing about the childMods, parentMods, dependants and dependencies parameters Quote Main Developer and Owner of Zero Quest Visit the Wiki for more information If I helped anyone, please give me a applaud and a thank you!
NovaViper Posted July 30, 2015 Author Posted July 30, 2015 Ah, ok Quote Main Developer and Owner of Zero Quest Visit the Wiki for more information If I helped anyone, please give me a applaud and a thank you!
Recommended Posts
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.