Minecraft 1.10 Zombie Customization – How to Make Zombies Immune to Daylight

minecraft-commandsminecraft-java-edition

I've tried googling, and I got some people saying "put a helmet on them", but for me, it doesn't work. The helmet doesn't appear. This might have something to do with how the new Minecraft scripting NBT thing works?

The command is something along the lines of:

/summon Zombie ~ ~ ~ {Equipment:[{},{},{},{},{id:minecraft:stone_button}]}

Best Answer

The problems with your command are:

  1. In versions 1.9 and above, Equipment should be ArmorItems
  2. The head slot is the 4th ArmorItems slot, rather than the 5th

The fixed command should be:

/summon Zombie ~ ~ ~ {ArmorItems:[{},{},{},{id:minecraft:stone_button}]}