mojira.dev
MC-267464

Unable to delete custom name through data command

I was unable to delete a custom name for an armor stand in order to create my data pack.

  1. I placed an armor stand.

  2. Named "test" it with a name tag.

  3. I exected the following command:
    /data get entity [the UUID of the armor stand] CustomName

  4. The following log is returned:
    test has the following entity data: '{color:#57d9a3}"test"{color}'
    I could expect until this step.
    And now I want to delete this custom name.

  5. I executed each of the following commands and verified with the command used in the 3rd step:
    /data modify entity [UUID] CustomName set value '' and
    /data merge entity [UUID] {CustomName:''} and
    /data remove entity [UUID] CustomName

  6. The custom name was not deleted in every case.

If you know of a way to delete a custom name using a command, please let me know.

Related issues

Comments

migrated

Duplicate of MC-267259, WAI, MC-128225 has been elivated to important.

Arisa Bot

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