#I need helping making the command give part for the script it wont work
1 messages · Page 1 of 1 (latest)
?
so, you're on the right track, however you for one, need the SkBee addon to be able to use NBT in your code (read the wiki, it gives you examples). If you think that's too complicated, then you can use console commands (such as make console execute command "/give %player% diamond_sword{YourNBT:here,DontForgetTo:""UseDoubleQuotes""} 1")
not even telling em to not use display:{Name smh
You can do most of that code without even touching SkBee as I'm reading it now you aren't using custom tags. I'm gonna split up the process into a more readable form
Setting Item set {_item} to diamond sword
Setting Name set name of {_item} to "&cThis Is Red"
You can also combine the previous two into one: set {_item} to diamond sword named "&eI Support &bColor &dCodes"
Your item also has lore, which can be added like this: set lore of {_item} to "&cLine 1 of lore" and "&eLine 2 of lore"
Guess what? Items can also be enchanted like this: enchant {_item} with silk touch 3 # Doesn't even need to be an enchantment that is natively supported to that type of item, can be any of them!
set {_item} to diamond sword of unbreaking 1
that too

so, could someone help me turn it into nbt, because its kind of confusing me