Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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).

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]

  • 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.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.