-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 18w14b, Minecraft 18w15a, Minecraft 18w16a, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, Minecraft 1.13.1, 1.16 Pre-release 2, 1.16.4, 20w49a, 21w05b, 21w06a, 1.17.1, 1.18.1, 1.18.2, 22w13a, 22w18a, 1.19, 1.19.1 Pre-release 4, 1.19.1 Release Candidate 2, 1.19.1, 1.19.2 Release Candidate 1, 1.19.2, 1.19.3, 1.19.4, 1.20.1, 1.20.2, 23w43b, 1.20.4, 23w51b, 24w05b, 24w06a, 24w07a, 24w09a, 24w13a, 1.20.5 Pre-Release 4, 1.20.5 Release Candidate 2, 1.20.5, 1.20.6 Release Candidate 1, 1.20.6, 24w20a, 24w21b, 1.21, 1.21.1
-
Confirmed
-
Commands
-
Important
-
Platform
The bug
The /data remove command can't remove the NBT CustomName.
How to reproduce
- Type this command:
/summon spider ~ ~ ~ {CustomName:"{\"text\":\"Grumm\"}"}
→
You can see its name by looking at it
- Type this command:
/data remove entity @e[type=spider,limit=1,sort=nearest] CustomName
→
Its name should be removed, but it isn't
Expected behavior
The name of the entity should be able to be removed using the /data remove command.
- is duplicated by
-
MC-132924 /data remove block does not clear CustomName
- Resolved
-
MC-207602 /data remove not working on non-primitive, non-list values
- Resolved
-
MC-267464 Unable to delete custom name through data command
- Resolved
-
MC-268707 CustomName NBT tag can not be removed
- Resolved
- relates to
-
MC-122008 custom_potion_effects in arrow entities duplicates with '/execute store' and isn't affected by '/data remove'
- Open
-
MC-135044 /data remove cannot remove attribute (modifier)s
- Open
-
MC-138100 /data remove doesn't work for the Jukebox's RecordItem tag
- Open
-
MC-153392 Unable to remove villager gossips using /data remove
- Open
-
MC-179815 Data command doesn't remove leash from a mob
- Open
-
MC-207605 data remove entity [tamed wolf] Owner does not remove ownership of the wolf
- Open
-
MC-248264 /data remove can't remove ArmorItems
- Open
-
MC-122840 "/data remove" cannot delete beam_target tag in End Crystals
- Reopened
-
MC-267259 As of 1.20.3, it is now impossible to delete an entity's name.
- Resolved
-
MC-269066 Item modifier cannot remove `custom_name`
- Resolved