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

Setting CustomName to a blank string doesn't remove the custom name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.11.2
    • Minecraft 1.8.3, Minecraft 1.8.4
    • None
    • Windows 10 TP
      JRE bundled with Minecraft
    • Community Consensus

      Rename a mob (I used a villager) to lets say, Bob.

      Try to remove the name by using

      {CustomName:""}

      It won't change the name.
      Edit:
      I've been told that setting the name to " " will remove the name, but not the nameplate.
      This should be corrected regardless, since I assume it is not working as intended.

      White-space trimming should be turned off, and rendering the name plate should check for both CustomName tag existing, and it not being blank.

      The only way to correct this is to kill the mob, and spawn in a new one, which is very inconvenient if you've spent a while trying to fuss with other tags to make your mob display right.

            Unassigned Unassigned
            TrashCaster Mike Dueck
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: