When retrieving a player head using a UUID, the item will not display the player name.
I realize that resolving data server-side has been abandoned since 1.21.9/25w34a, however since the client is responsible for showing the item name, I don’t see why the profile component would not override the item name displayed after it has been resolved.
In 25w33a and below, the player name would always be shown.
This is useful for ensuring player heads always have an updated skin and player name when showing them in a custom map, even if the skin or name is changed by the player.
Steps to Reproduce
/give @s minecraft:player_head[profile={id:[I;1310885697,139610808,-1449946961,1834654359]}]
Observed Result
When hovering over the dynamic player head, the item name is shown as “Player Head”. The chat also displays “Gave 1 [Player Head] to <Player>”, however that was already the case in 25w33a and below, and I wouldn’t necessarily expect the player head to be immediately resolved by the client when displaying that chat message.
Expected Result
The dynamic player head assumes the name “NeunEinser’s head” once it has been resolved by the client
Can confirm: