How i can execute an player command with custom head?
Example:
Command Block Head: /give @p minecraft:skull 1 3 {display:{Name:"Backpack"},SkullOwner:{Id:27a68fa2-0e84-7c3c-cdc6-b141288a5810,Properties:{textures:[{Value:eyJ0aW1lc3RhbXAiOjE0Mzc3MDQ3NTA0OTAsInByb2ZpbGVJZCI6IjUwNzk4YjJhN2QxYjQxYTRiNmFlYzRiNWUwOWJjMTcxIiwicHJvZmlsZU5hbWUiOiJFbHN3ZXlyIiwidGV4dHVyZXMiOnsiU0tJTiI6eyJ1cmwiOiJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlL2ViZGY4ZDUzYmRiOTMyYzIyM2M2MjdiYmI4YzFlMGM1ZTM1MWE2MTZjZDgwNTY5MjljNjZlNmRjZTQ0NDMzZGIifX19 }]}}}
Example:
code_language.skript:
On RightClick of head:
execute player command "test"