So i want to create an item with, when i click it, it will summon a healing orb
I couldnt find any good tutorials on how to do this.
Here is my code:
on rightclick with player head:
if name of event-item is "&2&lRadiant":
set {_test} to skull of player with custom nbt "{display:{Name:""&2&lRadiant""},SkullOwner:{Id:""10a23a36-4f37-47f7-a28f-fc330de3ff5a"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2FiNGM0ZDZlZTY5YmMyNGJiYTJiOGZhZjY3YjlmNzA0YTA2YjAxYWE5M2YzZWZhNmFlZjdhOTY5NmM0ZmVlZiJ9fX0=""}]}}}"
spawn armor stand at player
#add "{Invisible:1b}" to nbt of last spawned armor stand
set the helmet of the last spawned armor stand to {_test}
I couldnt find any good tutorials on how to do this.
Here is my code:
on rightclick with player head:
if name of event-item is "&2&lRadiant":
set {_test} to skull of player with custom nbt "{display:{Name:""&2&lRadiant""},SkullOwner:{Id:""10a23a36-4f37-47f7-a28f-fc330de3ff5a"",Properties:{textures:[{Value:""eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2FiNGM0ZDZlZTY5YmMyNGJiYTJiOGZhZjY3YjlmNzA0YTA2YjAxYWE5M2YzZWZhNmFlZjdhOTY5NmM0ZmVlZiJ9fX0=""}]}}}"
spawn armor stand at player
#add "{Invisible:1b}" to nbt of last spawned armor stand
set the helmet of the last spawned armor stand to {_test}