M HYPE SPLASH
// news

How do you summon a Zombie with enchanted armor? [duplicate]

By Emily Wilson

I asked a question earlier "How do I spawn a Zombie with Armor", After about a week of trying to summon a zombie with enchanted armor on my own, I turn to you guys to help me.

I have tried /summon Zombie ~ ~ ~ {Equipment:[{id:"minecraft:leather_chestplate",ench:[{id:34,lvl:1}]},CustomNameVisible:1,CustomName:"Lv.1 Zombie"}

The command block output Error says "Data tag parsing failed: Unbalanced curly brackets {}"

0

2 Answers

You're missing the closing square bracket (]) for your equipment tag. Try using this instead:

/summon Zombie ~ ~ ~ {Equipment:[{id:"minecraft:leather_chestplate",ench:[{id:34,lvl:1}]}],CustomNameVisible:1,CustomName:"Lv.1 Zombie"}

That just corrects the syntax error. To get the zombie to wear the armour, you need to fill the hand, feet, and leg slots first:

/summon Zombie ~ ~ ~ {Equipment:[{},{},{},{id:"minecraft:leather_chestplate",ench:[{id:34,lvl:1}]}],CustomNameVisible:1,CustomName:"Lv.1 Zombie"}

But that still doesn't solve everything, because the enchant isn't working. This is because the ench tag is part of the tag tag, which is a subtag of item. Use this instead:

/summon Zombie ~ ~ ~ {Equipment:[{},{},{},{id:"minecraft:leather_chestplate",tag:{ench:[{id:34,lvl:1}]}}],CustomNameVisible:1,CustomName:"Lv.1 Zombie"}
6

I use this for any complex commands: You can use it for all sorts of stuff, Villager trades, custom armour spawners. It even does book generation (not that that's part of the question)