Head name component is too restrictive, breaking old and new player heads
Player Head Component "minecraft:profile={name:""} is too restrictive requiring no spaces/special characters and/or a character limit of 0-16. This bricks old player heads that have these use cases in the name field by stripping profile components completely.
This is typically used to keep the custom item name for a head where a player sets a custom value like `Spider` would display "Spider's Head" that would persist when placed down when they already have a custom texture.
How to Replicate:
+Working:
+
/give @s minecraft:player_head[minecraft:profile={name:"test"}]
+Not Working:
+
/give @s minecraft:player_head[minecraft:profile={name:"test test"}]
/give @s minecraft:player_head[minecraft:profile={name:"testtesttesttesttest"}]
/give @s minecraft:player_head[minecraft:profile={name:"test☺"}]
2024-02-29, 07:34 AM
2024-03-02, 01:28 AM
2024-03-01, 08:27 AM
2
5
-