Started by
ShrimpyUsesGrammarly
on
Topic category: Help with MCreator software
When using an item in inventory tick procedure and updating nbts within it, when i open my inventory with the item in hand, it shows the item bobbing up and down constantly, how do i stop this from happening?
Its really noticeable, and i wish there was a way to disable it.
Edited by ShrimpyUsesGrammarly on Thu, 10/30/2025 - 20:38
can you show the procedure? and are you talking about this?
Yes that is what im experiencing! sorry for the lack of clarification
https://mcreator.net/comment/298401/#comment-298401
as an image preferably
https://imgur.com/a/I5u5LSf
This procedure is in 'tool in inventory tick'
would the alternative be that i put the nbts on the player?
Okay i fixed it!! if anyone else has this problem, i fixed it by adding an if statement and checking if the world is clientside first.
ok nevermind im at a loss, the visual bug is fixed but the nbts dont function correctly, presumable because im just changing them on the client now
i'm really not sure you can..
i mean mending even does it,,
its okay dont worry about it, ill find a way eventually!!
i believe a fix for this is to add this into the item class for now!
@Overridepublic boolean shouldCauseReequipAnimation(ItemStack oldStack, ItemStack newStack, boolean slotChanged) {return !ItemStack.isSameItem(oldStack, newStack) || slotChanged;}oh! Awesome!!