Opening the new ticked because this bug appears again.
Step to reproduce:
1. Use command /give @p totem 64
2. Put them on offhand (in my case left hand)
3. Teleport player somewhere really high
4. Player hits the ground and all 64 totems from offhand get consumed
Yes, totems aren't supposed to stack, but they still do through /give and that's not the case to leave the bug. This is useful for testing totem.
Linked issues
is duplicated by 1
Comments 3
Upgrading diamond gear in a smithing table has the same issue. The whole stack gets consumed and you only get one netherite item. See MC-180738.
Relates to MC-107746