The bug
Entities can be summoned with Tags
entries containing spaces. However, neither the tag
argument selector nor the /tag
command support them.
How to reproduce
/summon minecraft:creeper ~ ~ ~ {Tags:["hi there"]}
Try the following
/execute if entity @e[type=creeper,tag=hi there] /execute if entity @e[type=creeper,tag="hi there"]
/tag @e[type=creeper] remove hi there /tag @e[type=creeper] remove "hi there"
Note: The first
/tag
variant is even suggested by the command syntax help
❌ None of these commands is considered valid
Linked issues
Comments 2
Thank you for your report!
However, this issue is being forward-resolved as a Duplicate of MC-198135.
That ticket was seen and triaged by Mojang Studios, which is why this is happening. Your reproductions steps were added there, thanks!
If you have any additional information you'd like to add, please head over there to comment. And don't forget to watch for any updates on the issue!
Hope you understand. 🙂
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Can confirm for release 1.16.2