Jump to content

Recommended Posts

Posted

now i feel like an idiot, but when mods say they are dependent on forge and not modloader anymore, does that mean they are now not adding blocks to the game using the ModLoader.addName()/ModLoader.RegisterBlock() or are functions like these used in forge?

 

i started attempting to learn how to mod like 6 months ago and barely touched it, and at the time i installed modloader into the jar with forge after it, but i remember it being a huge hastle to install so im not wanting to attempt it now as i would lose my experimentation i have done over the last few hours so i thought it would be much easier to ask =) thanks.

 

oh and the reason for asking is that im getting "java.lang.NullPointerException at net.minecraft.src.ItemStack.getIconIndex(ItemStack.java:106)" error when trying to craft a custom recipe which know is because i have not used the methods i was talking about (they worked when i added them).

Posted

No. It means that they are also using Forge hooks. But since Forge now bundles its own ModLoader functionality, it no longer needs ModLoader itself. All ModLoader methods are still accessible, and can be used in the same manner. This means that all code used for ModLoader is backwards compatible with Forge.

 

Also, forge isn't that much of a hassle. In fact, I find it to be less hassle to install to MCP than ModLoader. It just takes a little bit longer to decompile/recompile.

 

Not sure about your error, however. Sorry.

Check out my

Texture Packs Thread here on the Forge Forum. :)

Currently in the process of adding some mod support for JohnSmith Texture Pack.

width=105 height=12https://www.sugarsync.com/piv/D8135159_67366891_21351[/img]

 

width=209 height=19https://www.sugarsync.com/piv/D8135159_67366891_772852[/img]

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.