#Give head with custom NBT

1 messages · Page 1 of 1 (latest)

hushed jewelBOT
#

x8ight suggests that you read this embed

Formatting Code In Discord
Why?

Code blocks make it easier for helpers to identify potential errors -- help them help you!

The Format

```vb
on chat:
broadcast "This is how you format code!"
```

How It Looks
on chat:
    broadcast "This is how you format code!"
Extra Info

On US keyboards, the grave character (`) is located above the tab key on the top left of the keyboard

undone mauve
#

also double quotes in a string

pulsar star
#

which string?

undone mauve
#

theres only one string

#

because
"bob said "hello" to steve"
"bob said ""hello"" to steve

pulsar star
#

in "Duck"?

undone mauve
#

everything thats inside the string

#

between the first and last "

pulsar star
#

Oh ok ok, let me change it

#

Please dont go away

#

There is error again. I have this:

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="}]}]"
undone mauve
#

you didnt do it...

pulsar star
#

sorry, this:

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="}]}]""
undone mauve
#

the INSIDE ones, not the outside ones

pulsar star
#

:,v I dont understand, where is inside and outside? I am new on this, so sorry friend

#

Hi?

undone mauve
#

you've done the outside (starting & ending quotes)

undone mauve
pulsar star
#

Thanks a lot friend! it works now