mojira.dev

Dave McManus

Assigned

No issues.

Reported

MC-130895 /give enchanted items does not work Duplicate

Comments

AWESOME! Got it, Thank you SO MUCH!

OK, that worked. So how would you give multiple enchantments, I've been messing with it and just can't seem to get it right.

Trying to give a diamond shovel with the custom name "Sodbuster" having the enchantments of unbreaking, efficiency, and silk_touch

input the command: 
/give @p diamond_shovel{display:{Name:"\"Sodbuster\""},Enchantments:[{id:"minecraft.unbreaking",lvl:5s},{id:"minecraft.efficiency",lvl:1s},{id:"minecraft.silk_touch",lvl:3s}]} 1

It accepted the syntax but there's still something wrong.

I don't know why the commands I pasted got all broken up, I assure you I typed them in without that odd formatting