Posted June 25, 201213 yr I noticed that a new button(the mods one) has been added. The description thing seems very cool, and a great feature to the API. However, I have a question: How do I add info for myself? At default it says "No mod information found, Ask your mod author to provide a mod .info file". How do I create said .info file?
June 25, 201213 yr Just going out on a limb here, try making a text file named "mod_yourModClassName.info" and put it in the same folder as the mod_yourModClassName.class file.
June 25, 201213 yr Author That doesn't sound like it would work. Mostly because there are multiple fields, as you can see in the attached image. However, if I knew where say Minecraft Forge's .info file was I could look at it and use it as a template.
June 25, 201213 yr mod_MinecraftForge.info in the client download: [ { "modid" : "mod_MinecraftForge", "name" : "Minecraft Forge", "version" : "3.3.8.148", "url" : "http://MinecraftForge.net", "credits" : "Lots of people have contributed to MinecraftForge", "authors": [ "LexManos", "Eloraam", "Spacetoad" ], "description": "Minecraft Forge is a common open source API allowing a broad range of mods to work cooperatively together.\nIt allows many mods to be created without them editing the main Minecraft code.", "logoFile" : "/forge_logo.png", "updateUrl" : "http://minecraftforge.net/forum/index.php/topic,5.0.html", "parent" : "", "screenshots": [ ] } ]
June 26, 201213 yr Information here including what to do: https://github.com/cpw/FML/wiki/FML-mod-information-file if you ship a jar always call it mcmod.info. the special naming mod_....info is mostly just for forge itself.
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.