#nbt of a skulker
1 messages · Page 1 of 1 (latest)
error: [19:57:41 INFO]: Line 36: (crate.sk) [19:57:41 INFO]: Can't understand this expression: 'nbt compound from "Inventory:{CustomName:'{"extra":[{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"' [19:57:41 INFO]: Line: set {_n} to nbt compound from "Inventory:{CustomName:'{"extra":[{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#90652C","text":"Starter shulker!"}],"text":""}',Items:[{Count:1b,Slot:0b,id:"minecraft:leather_helmet",tag:{Damage:0,HideFlags:6,Unbreakable:1b,display:{Lore:['{"text":""}','{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"gray","text":"Enchantmens:"}],"text":""}','{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":"- "},{"italic":false,"color":"gold","text":"No protection"}],"text":""}','{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":"-"},{"bold":true,"italic":false,"color":"white","text":" COMMON"}],"text":""}'],Name:'{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,
the skript ^
For context, I'm trying to add the shulker into a gui but i dont really know much abt nbr and that stuff
When you have a string (any text within quotations), you must double all quotatons within the string
Example:
send "npc 1 said to npc 2, "hello""
Now double the quotations within the string:
send "npc 1 said to npc 2, ""hello"""
Notice that the outer quotations are not doubled
double quote adds a quote inside the string
otherwise, it just causes issues
so yes, double it
where would i put them? because when i tried it then it sent a diffrent error
Wherever there are quotation marks within the string, add another one. See the example above
ohh okay