mojira.dev
MC-270625

Player Heads from previous versions aren't fully Updated

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.

Comments 2

Thank you for your report!
After consideration, the issue is being closed as Won't Fix.

Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.

Quick Links:
๐Ÿ““ Bug Tracker Guidelines โ€“ ๐Ÿ’ฌ Community Support โ€“ ๐Ÿ“ง Mojang Support (Technical Issues) โ€“ ๐Ÿ“ง Microsoft Support (Account Issues)
๐Ÿ““ Project Summary โ€“ โœ๏ธ Feedback and Suggestions โ€“ ๐Ÿ“– Game Wiki

I know this is closed but to add some more information to this issue, only player heads with spaces in the name appear to break when updating. In addition, the new component format doesn't seem to support spaces at all which is probably the root of the update issues.

n1njag0

(Unassigned)

Confirmed

Datafixer

1.20.5 Pre-Release 1

Retrieved