mojira.dev
MC-267259

As of 1.20.3, it is now impossible to delete an entity's name.

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

Attachments

Comments

migrated
[media]
migrated

Tried setting it to any invalid json name?

migrated

Tested: Any invalid values would result in the command working as normal, but no effects would happen to the name.

[Mod] Jingy

Can confirm:

[media]

Related to:
MC-91006 MC-128225

[Mod] Jingy

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"

Fantastime

Bumping the related issue to important

migrated

(Unassigned)

Community Consensus

Commands, Entities

1.20.4

Retrieved