Minecraft – How to make zombies/skeletons not burn in sunlight without changing their looks

minecraft-commandsminecraft-java-edition

It's for an survival map I'm making that I promised to my friends would come out soon.

I have tried this:

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

but it still catches on fire!

Best Answer

You've got the right idea, but minecraft:zombie_head doesn't exist as a distinct item. It's just called minecraft:skull with a damage value of 2.

So the correct command becomes the following:

/summon Zombie ~ ~ ~ {Equipment:[{},{},{},{},{id:skull,Damage:2}]}