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

I want to try and add tools and armor in my mod for 1.7.2, but I can't seem to get it working. Help?  :-\

  • Author

Show your code and describe the problems you have.

 

I feel like it's enough to say that I am trying to port my tools and armor from 1.6 to 1.7.

Like diesieben07 said, without more description it can be impossible for us to know what is going on.

 

Are you getting error messages? Are there no errors but the models aren't showing up?

 

The first thing I am reminded of when I boot into 1.6.4 is that my items have ID numbers. This won't work in 1.7, you need ID strings (Don't quote me on this, I'm installing the latest forge to test this theory). Did you convert your ID numbers?

There are no difficulties to port tools and armors to 1.7.2

I don't remember to have got difficulties when i ported mines,

Maybe the rendering and armormaterial was a bit different, but nothing really annoying.

 

The main problem is partial deobfuscation that forces you to make educated guess to find the right method and variables.

  • Author

Mostly, the problem is I don't know how to update my ToolMaterial and ArmorMaterial. Is that good enough?  :-\

  • Author

I also get an error under EnumToolMaterial. I heard a way to fix this, however.

Also, I am unsure about which constructors to keep on my tools and armor.

try to replace with public static final EnumToolMaterial toolmaterialname = net.minecraftforge.common.EnumHelper.addToolMaterial...

  • Author

Well, I guess now it's safe to say that the next time I need to update armor constructors I can look in the code. But now I am absolutely stumped with the proxy classes. I'll have to put the code for them soon to get help on them.

  • Author

Well, I pretty much managed to sort everything out, and now my mod is fully working.

I guess this thread can now be closed.

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.