Oh, these also don’t work:
/setblock ~ ~ ~ minecraft:player_head{profile:{selector:"@p"}}
/data modify block ~ ~ ~ profile set from block ~1 ~-1 ~ front_text.messages[0]
/data modify block ~ ~ ~ profile set value {selector:”@p”}
Specifically for the player heads, this results in the skin being reset to Alex.
ignore the last command
Commands that work correctly:
/data modify entity @e[type=minecraft:mannequin,sort=nearest,limit=1] profile set value Crazybomb101
/data modify block ~ ~ ~ profile set value Crazybomb101(~ ~ ~ is a player head)
Commands that don’t work:
/data modify entity @e[limit=1,type=minecraft:mannequin,sort=nearest] profile set from block ~1 ~-1 ~ front_text.messages[0]
(Sign message can be anything, from “Crazybomb101” to {selector:”@p”}. The line copied from the sign can also be any line.)
/give @s minecraft:player_head[profile={selector:"@p"}] 1
(Results in unnamed Alex head)
/setblock ~ ~ ~ minecraft:player_head[
I couldn’t get front_text.messages[0].extra[1] to work, however I found that front_text.messages[0].text seems to work just fine.
Thanks for the help and for letting me know about the feature request.