Campfire item with "cooking" NBT heavily shakes in hand/off-screen, when CTRL+pick-blocked
Resolved
Fixed
16
The bug
When you ctrl+pick-block a campfire that is cooking food, the NBT-containing campfire item model on your player character is shaking heavily and appears to be rendered outside the screen most of the time (when viewed in 1st person camera mode).
When you open the inventory screen or the cooking time expires, the effect wears off.
It appears that the constantly updating cooking time NBT on the item might be affecting the "new item selected in hotbar" arm animation.
How to reproduce
Place a campfire and put some raw food on it
CTRL+middle click the block (observe how the item behaves in your hand for a while)
I cannot tell anymore if the item in your hand is animating, because in recent versions it shakes so heavily and is rendered offscreen so much, I can ever only observe like a single frame in succession.
Why even is the item processing the block entity? It's quite unique behavior (others don't do this as far as I can tell) and aside from ctrl pick block, it's not possible to get campfire items with that NBT.
It fixes when you place and then break it for some reason