mojira.dev
MC-268707

CustomName NBT tag can not be removed

It is currently not possible to remove the CustomName NBT tag from any entity. Trying it will result in the command succeeding but the NBT tag will be unchanged. It is also not possible to set the CustomName to an empty string.
How to replicate:
Summon an entity with a CustomName.
Make sure you can see the Name above the entity so you know it actually has the CustomName NBT tag.
Run a data get command that returns the CustomName NBT tag.
Remove the CustomName NBT tag.
Run the data get command again.
You will see that the CustomName has not changed.

Related issues

Comments

Arisa Bot

Thank you for your report!
We're tracking this issue in MC-128225, 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.

migrated

(Unassigned)

Unconfirmed

(Unassigned)

1.20.4

Retrieved