-2

This question already has an answer here:

/give @p Diamond_sword 1 0 {Unbreakable:1, Display: {Name: "Sword of Balance”},Lore:["1 of the 3 Tools of Creation… Too Powerful to see the light of day…”],ench:[{id:16,lvl:1000},{id:17,lvl:1000},{id:18,lvl:1000},{id:19,lvl:-3}, {id:20,lvl:1000},{id:21,lvl:1000},{id:22,lvl:1000}]}

After i do this it says:

[20:11:27] Data tag parsing failed: Expected '}' but got '1' at: ...{Name: "Sword of Balance”},Lore:["1<--[HERE]

and if I remove the lore

/give @p Diamond_sword 1 0 {Unbreakable:1, Display: {Name: "Sword of Balance”},ench:[{id:16,lvl:1000},{id:17,lvl:1000},{id:18,lvl:1000},{id:19,lvl:-3}, {id:20,lvl:1000},{id:21,lvl:1000},{id:22,lvl:1000}]}) 

it says

[20:12:48] Data tag parsing failed: Missing termination quote at: ...{id:21,lvl:1000},{id:22,lvl:1000}]}<--[HERE]

(Note I did do it in a command_block)

What is wrong with it?

marked as duplicate by aytimothy, dly, Timmy Jim, Kaizerwolf, Ramirez Jul 26 '17 at 13:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1

So, You've put the Lore outside the display tag, which is why it isn't showing up. There were also some uneeded spaces and a weird quotation mark. Here is the correct version.

/give @p Diamond_sword 1 0 {Unbreakable:1,display:{Name:"Sword of Balance",Lore:["1 of the 3 Tools of Creation… Too Powerful to see the light of day…"]},ench:[{id:16,lvl:1000},{id:17,lvl:1000},{id:18,lvl:1000},{id:19,lvl:-3},{id:20,lvl:1000},{id:21,lvl:1000},{id:22,lvl:1000}]}

If you'd like to hide the "sharpness enchantment.level.1000", take a look at the hideFlags nbt component.

  • Thank you! I've been trying it for awhile and it works now – Asian Jul 26 '17 at 2:27
2

I used this give generator. This is the command it produced:

/give @p minecraft:diamond_sword 1 0 {display:{Name:"Sword of Balance",Lore:["1 of the 3 Tools of Creation… Too Powerful to see the light of day…"]},ench:[{id:16,lvl:1000},{id:17,lvl:1000},{id:18,lvl:1000},{id:19,lvl:-3}, {id:20,lvl:1000},{id:21,lvl:1000},{id:22,lvl:1000}],Unbreakable:1}

Not the answer you're looking for? Browse other questions tagged or ask your own question.