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

Player Heads from previous versions aren't fully Updated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • None
    • 1.20.5 Pre-Release 1
    • None
    • Windows 11, Java 21
    • Confirmed
    • Datafixer

      Player Heads Incorrectly Convert

      Player Heads in the past used the Namespace to save information between placing and picking up. With the component change the head components had limitations applied but later got additions which allowed for this behavior again. The Custom Name Component is the main space to put custom names on heads. How this all comes into play is heads from previous versions Use the skull owner's Name to be labeled something like 

      Strong Bird's Head

      but when updated, it appears as "Player Head". This applies to All existing Heads, either placed, in inventory, in a chest, as an item, and more.

      Reproduction Steps

      1. Create a 1.20.4 Creative World, and run the following command. Place in inventory, on the ground, in the chest, etc. Notice the name of the head is "Strong Bird's Head"

      /give @p minecraft:player_head{SkullOwner:{Name:"Strong Bird"}} 

      2. Leave World & Upgrade to the latest Pre-Release
      3. Look in inventory, ground, chest, etc.
      4. Notice the name of the item no longer says "Strong Bird's Head" and instead says "Player Head"

      Why fix?

      Many maps, Datapacks, servers, and worlds have Custom Player Heads that have value to players. Breaking these existing heads will likely cause anger, disappointment, and confusion.

      Possible Solutions

      1. Datafix names that do not fit the new criteria for the Heads Component to the custom_name component; This will make heads that fit the head component limit compliant and with the head texture still while updating old heads that need to keep the names.
      2. Allow invalid names in the Name Component again; this will keep the old system where names can also go in that slot, but names with illegal or extended character amounts have no textures.

            Unassigned Unassigned
            n1njag0 n1n (n1njag0)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: