Posted July 19, 201213 yr 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).
July 19, 201213 yr 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. https://www.sugarsync.com/piv/D8135159_67366891_21351[/img] https://www.sugarsync.com/piv/D8135159_67366891_772852[/img]
July 19, 201213 yr Author oh the error wasnt what i was needing answering. i was just wondering how it was working thats all, thanks.
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.