Jump to content

Recommended Posts

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.

Posted

1.12 is no longer supported on this forum.

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

  • Sad 2

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.

Announcements



×
×
  • Create New...

Important Information

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