Give head with custom NBT

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Florenthz

Member
Dec 5, 2017
20
1
3
Hi, I need help please, I dont know how to use new NBT compounds, can someone help me?
I am using Skript 2.9.1, SKBee 3.6.1 and Paper 1.21#130
Thanks and greetings


Code:
command /test:
    trigger:
        create a gui with virtual chest inventory with 1 row named "Test":
            make gui slot 4 with a player head with nbt compound from "[minecraft:custom_name='{"text":"Duck","color":"gold","underlined":true,"bold":true,"italic":false}',minecraft:lore=['{"text":"Custom Head ID: 99499","color":"gray","italic":false}','{"text":"www.minecraft-heads.com","color":"blue","italic":false}'],profile={id:[I;-1598060888,368266226,-1317784864,-1775454295],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTljN2JkNTgyNzJkODhhZWE1M2QwYjljM2M3NWQ4NzY3ZTAxYjIwYjlhODExMWRlNzVkZjlhYTlmMjcyYzk0MiJ9fX0="}]}]"