Posted July 30, 201510 yr 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(); } } 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!
July 30, 201510 yr Author Oh, also I'm wondering the same thing about the childMods, parentMods, dependants and dependencies parameters 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!
July 30, 201510 yr Author Ah, ok 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!
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.