Jump to content

How do I get the mcmod.info file to work?


Chibill

Recommended Posts

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Because it is in the Main file of my mod. And I can never make the file work which is why I posted this because the hardcoded one is not showing in a normal installation.

Because what is in the main file of your mod? The data for the mcmod.info?

 

And if you mean you can't make the mcmod.info file work, then I'd like to see the error log. Most likely you missed a quote or a comma somewhere; I had to correct a few typos before mine would work. Or else you put it in the wrong place.

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

Link to comment
Share on other sites

I have had the same problem before.  In my case the modid was not correct.  For example, if the folder structure in the mod .zip file is:

 

<folder> testmod

      L <folder> testcraft

              L <folder> mod

                        L mod_TestCraft.class files

 

The modid in the mcmod.info file must be testcraft.  I was using the wrong text for the modid so I also had no errors but the text and .png file for my mod was not showing up. 

 

It seems to me that the modid is not necessarily the name of your base mod .class file, but it is the exact text used to name the folder in your .zip file.  At least that is what fixed the problem for me.  I hope it helps you as well.  Good luck!

Link to comment
Share on other sites

It seems to me that the modid is not necessarily the name of your base mod .class file, but it is the exact text used to name the folder in your .zip file.  At least that is what fixed the problem for me.  I hope it helps you as well.  Good luck!

 

Nooo....

 

It matches this:

 

@Mod(modid="Custom Celestials")

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

While that does make sense, my modid in my .class file is TestCraft, and that doesn't work for me in the mcmod.info file.  The name of the folder actually does work for me.  (testcraft)  I must have just been lucky enough to find a fix for my unique case or something.

Link to comment
Share on other sites

Heres the file.

[
{
"modid": "AdditionalCrafting",
"name": AdditionalCrafting",
"description": "A Minecraft mod made to add Spawners that are placeable, new stairs, and some new crafting recipes!",
"version": "1.0.0",
"credits": "The people of the Forge Mod Loader Forum.",
"logoFile": "/logo.png",
"mcversion": "",
"url": "http://www.mod-buildcraft.com/",
"updateUrl": "",
"authors": [ "chibill And Himehowareu" ],
"parent":"",
"screenshots": [],
"dependencies": [
"mod_MinecraftForge"
]
}
]

Link to comment
Share on other sites

"name": AdditionalCrafting",

 

You're missing a "

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

  • 2 months later...

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.