Mojira Archive
MC-128225

'/data remove' can't remove the NBT "CustomName"

The bug

The /data remove command can't remove the NBT CustomName.

How to reproduce

  1. Type this command:
    /summon spider ~ ~ ~ {CustomName:"{\"text\":\"Grumm\"}"}
    

    You can see its name by looking at it

  2. 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.