Jump to content

FML Doesn't Load My Mod


SoBiohazardous

Recommended Posts

Ok, so I test my mod, and it works fine. I then recompile and reobf, and install forge and my reobf data in my minecraft.jar. I run and get this error:

java.lang.NullPointerException
at cpw.mods.fml.common.FMLModContainer.getName(FMLModContainer.java:106)
at cpw.mods.fml.common.Loader.sortModList(Loader.java:236)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:416)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:192)
at net.minecraft.client.Minecraft.a(Minecraft.java:402)
at net.minecraft.client.Minecraft.run(Minecraft.java:734)
at java.lang.Thread.run(Unknown Source)

 

I then realized I had to make a mcmod.info file, and so I did. I called it mcmod.info, and put it in my minecraft.jar. Here is what it said:

[
{
  "modid": "BakedGoods",
  "name": "BakedGoods",
  "description": "Adds Plenty of food, Some with special effects.",
  "version": "V3.0",
  "mcversion": "1.3.2",
  "url": "http://www.minecraftforum.net/topic/1240619-125smpbaked-goods-mod-beta/",
  "updateUrl": "",
  "authors": [
    "Crzyguitardude"
  ],
  "credits": "crzyguitardude, Crazy_Leen, DylPickle373",
  "logoFile": "/bg_logo.png",
  "screenshots": [
  ],
  "parent":"",
  "dependencies": [
  ""
  ]
}
]

 

And now i dont get a crash, but it doesn't load my mod, it just loads forge.

 

Here is the annotion in my mod file:

@Mod ( modid = "BakedGoods", name="BakedGoods", version="V3.0")

 

If you need any further information, I will say it. Thanks.

Link to comment
Share on other sites

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.