mojira.dev
MC-133103

Strange /replaceitem command behavior

The bug

I executed the command replaceitem entity @a container.0 snowball 16 constantly with a repeating command block. In creative mode I opened my creative inventory, hovered over an item with my cursor, and pressed my "hotbar slot 1" button (default is 1) twice. Instead of having the item become instantly replaced with the snowballs, the item stays there.
If I press "use item" (right button) while holding the item, unless the item would normally place or spawn something, the snowballs still throw. If the item was a trident or a sword, no breaking sound or animation is made when breaking blocks with it. As soon as I open a container the item gets replaced by snowballs. I believe the item only appears client-side as it is not recognized by commands such as clear or enchant.

Attachments

Comments 2

Thank you for your report!
We're tracking this issue in MC-29318, 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:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki

Philipp Hoehn

(Unassigned)

Confirmed

(Unassigned)

/replaceitem, container

Minecraft 1.13-pre6, Minecraft 1.13-pre8, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, 1.15.2, 20w17a

Retrieved