Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-128225

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

    XMLWordPrintable

Details

    • Bug
    • Status: Reopened
    • Resolution: Unresolved
    • 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
    • None
    • Confirmed
    • Commands
    • Low

    Description

      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.

      Attachments

        1. MC-128225.mp4
          4.54 MB
        2. MC-128225.png
          MC-128225.png
          1.02 MB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jellywayne jellywayne
              Votes:
              18 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                CHK: