mojira.dev
MC-135740

Entities can be summoned with selector tags that cannot be selected for

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

  1. /summon minecraft:creeper ~ ~ ~ {Tags:["hi there"]}
  2. 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

Can confirm for release 1.16.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

Baker Fugu

(Unassigned)

Confirmed

Commands

Minecraft 1.13, Minecraft 1.13.1, 20w10a, 1.16.2

Retrieved