Unable to use " " within " " of a command
Shintufelper opened this issue ยท 1 comments
I am trying to execute the following command in JSON:
/give @p minecraft:stick 1 0 {display:{Name:"Swatter"},ench:[{id:19,lvl:2}]}
When I reload chance cube configs it does not load it as a valid reward. If I use the following it loads just fine:
/give @p minecraft:stick 1 0 {ench:[{id:19,lvl:2}]}
But if I try the following it fails:
/give @p minecraft:stick 1 0 {display:{Name:"Swatter"}}
This has lead me to the the conclusion that the " " marks within NBT tag of the item is tripping up the compiler. My raw file is attached of the reward I am trying to do.
PS: I have noticed a lot of the NBT tag format has changed between 1.7/1.8 and 1.10 which has outdated the Wiki, example, and some of the custom rewards.
The NBT tag format shows " " required, but its actually not so that worked to bypass it.
/give @p minecraft:stick 1 0 {display:{Name:Swatter},ench:[{id:19,lvl:2}]}