It is now impossible to delete an entity's name.
Previously, setting an entity's CustomName to "" would clear its name entirely.
This is the only method to do this, as /data remove doesn't work on CustomName, at all.
(see MC-128225 for that issue)
However, with the recent changes to text parsing, setting an entity's CustomName to "" wouldn't work anymore (it still ran, but as if nothing happened), removing this tool from the system for good. It is now impossible to delete an entity's name.
Please fix this, as this has been a thing for so long before 1.20.3 (and now 1.20.4)'s release.
Such a change permanently removes datapack creators' abilities to erase an entity's name, which is crucial for projects that does that very thing, which has been around for a very long time.
Related issues
is duplicated by
relates to
Attachments
Comments


Tried setting it to any invalid json name?

Tested: Any invalid values would result in the command working as normal, but no effects would happen to the name.
Could the summary of the issue be updated to more clearly describe the issue?
I suggest something like: "Setting an entity's CustomName NBT to an empty string no longer clears the value"
Bumping the related issue to important