mojira.dev
MC-278227

The text component's selector can't work in entities' nbt data

The game will consider the selector as a text in a mob's CustomName tag. However it can work elsewhere like tellraw command and block entity data.

/summon minecraft:interaction 94.37 -60.00 -72.27 {CustomName:'{"selector":"@n"}'}
[media]

Linked issues

Attachments

Comments 2

Duplicate of MC-131328, entity names can't resolve dynamic text types.

Thank you for your report!
We're tracking this issue in MC-131328, 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 (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 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.

Sun4966

(Unassigned)

Unconfirmed

(Unassigned)

24w45a

Retrieved