From the image, it shows the pumpkin on the player's head, but it doesn't show up by using /data (Slot 103 is the head slot).
How to reproduce:
Place a repeating command block that is always active with the following command:
/item replace entity <player> armor.head with minecraft:airShift-click the wearable headgear into the head slot (it may take a few tries)
Use /data get entity <player> Inventory
Attachments
Comments 5
When I remove the item or command block, it will still exist. Does this still hold true for this particular bug?
Leave and reenter the world, it'll be gone.
If you're in creative, the client has full control over the items, so it makes sense for the item to not get corrected then, in survival/adventure, the client will get corrected.
Thank you for your report!
We're tracking this issue in MC-239935, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
Because the item is not actually in that slot, it's a desync. The client missed the packet that said "delete this".
Sounds like MC-29318 is back.