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

Hi

I heard there was a definite fix for the NBT bug for when the item is updated (the item equip animation). How exactly do I implement this fix? I've looked at the changelogs on the repository but I can't seem to see what I should do. I don't need help at all on the NBT, just how to implements Lex Manos' fix for the bug animation. I really do need this, otherwise its up to my old system of packets, IEEP, and polymorphism. Thanks all in advance!

Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]

  • Author

Hey, thanks for the reply. I think there are some odd parameters like old and new itemstacks, I just wish it was as simple as saying "no item, you may not go up and down!". Haha, and yeah, my code gets very complicated, I hate re-writing it because it takes hours, I just want a simple NBT system to get special item properties and not have to use polymorphism for array instances and using enhanced - for loops to loop / check through each instance of my base class (grabbing properties from my child classes and apply them to the parent without using static variables). I also have to use an alternative to "getTagCompound().getInteger("")".For this, I use polymorphic getters implementing string based if statements to return different values. I send packets to sync these values with the server and client and hook them into IEEP, some reflection is involved if you want to draw strings using these values based on what item you are holding. See, NBT would be a lot easier!

Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]

  • Author

Could I see an example just in a method setting NBT? I just need pointed in the right direction. Thanks all.

Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]

  • Author

Thanks for the reply, it wasn't hard, something just wasn't clicking in my mind till you described that, thank you for doing so. Easy fix, topic is now solved and locked (locked in a moment's time).

Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]

Guest
This topic is now closed to further replies.

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.