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.

[1.12.2] Item constantly being picked up animation?

Featured Replies

Posted

I know the title is confusing, but I'll do my best to explain my issue. I have an item in my mod that's nbt is getting updated every tick. I've tried just using fields, but that didn't work properly in multiplayer, as fields aren't player specific for items (incase why you're wondering why I'm changing the nbt every tick, and not just using fields). General background info about the mechanic that's causing me issues: Every time the hand itemstack, regardless of what item (even vanilla) gets updated, there is an animation, where the player's held itemstack slowly rises. If you don't know what I mean, try dropping an item in the game. Notice the player's hand (empty itemstack) performs the described animation. Now try picking up that same item, it should perform this same animation. It should also display the item's name just above your toolbar for a short time. These things also happen when you change your selected item in your toolbar, because your hand itemstack is getting updated. 

 

Why is this causing me issues? Since my item is getting updated every tick using nbt, it performs this animation every tick. Basically, my item (while in the player's hand) is below their camera forever (the start of the animation). It also displays the item's name forever. I assume these issues are caused by the stuff I described above. Sorry if you're still confused by my issue. If anyone knows what I can do to fix this issue, please tell me. I will not stop using nbt data, unless there is no other solution.

1.12 is no longer supported on this forum.

Please update to a modern version of Minecraft to receive support.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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.