Iron Golems are one of the two utility mobs. They are incredibly strong and tend to guard villages. Iron Golems can be spawned by the player by putting four blocks of iron in a T-shape and putting a Pumpkin on top. Iron Golems will attack any mob except Creepers with a two-hand uppercut that does 3-10 hearts of damage. This uppercut also launches the foe high enough to take fall damage. They do not attack Creepers probably because they explode and may damage the Village the Iron Golem protects. Iron Golems can spawn naturally in larger Villages around the town square. These will attack any hostile mob or entity that attacks the Villagers (in that point and the player) or the golem itself (unless the golem was created by the player that hit it).
Where they live naturally
- In NPC Villages with 21+ houses and 10+ Villagers
- Iron Golems will attack any mob that harms them, even Snow Golems.
- Iron Golems can attack through active Pistons.
- Iron Golems can not be created by Pistons. Also, the pumpkin must be the last added.
- Unlike tamed Wolves, Iron Golems will not attack passive mobs that the player who created them attacks.
- Sometimes, Iron Golems will swing their arms for no reason. This can damage Creepers.
- Iron Golems can spawn Roses in their hands as a symbol of their friendship with Villagers. When doing so, the rose gets a darker shade of red.
- When Creepers are weak, Iron Golems will attack them.
- They are immune to both fall damage and drowning, but can be killed by lava.
There are two ways to see Iron Golems in your Minecraft world: spawning them by yourself, which is a costly process requiring 4 Iron Blocks and 1 Pumpkin. The other way is simple: make a village large enough to spawn the mighty golems.
Iron Golem spawning requirements
To spawn golems, a Village needs the following things: 10+ Villagers and 21+ houses. A house is any door that has more blocks making shadow on one side than on the other. Simply put, 21 dirt blocks and 21 Doors are enough to make a village large enough to spawn golems. The villagers will reproduce depending on how many free houses there are. There's a table detailing how many golems you can expect below. Note that 21 houses are required in this table. When a golem wanders outside the village boundaries or is killed, there is room for another one to spawn.
Golem spawning mechanics
If the criteria has been met, the game will begin to try to spawn a golem. Every game tick (1/20 of a second), there is a 1/7000 chance that a golem will spawn. Essentially, the game randomly chooses one number between 0 and 7000, and if it's one predetermined number, let's say 2, then a golem will spawn.
|# of Villagers||Golem cap|
|Hostile||Wither Skeleton • Skeleton • Silverfish • Witch • Spider Jockey • Ghast • Magma Cube • Chicken Jockey • Zombie Villager • Endermite • Blaze • Slime • Creeper • Cave Spider • Zombie|
|Neutral||Spider Jockey • Chicken Jockey • Enderman • Spider • Wolf • Iron Golem • Zombie Pigman|
|Friendly||Squid • Ocelot • Chicken • Villager • Bat • Cow • Mooshroom • Horse • Pig • Snow Golem • Pig • Sheep|
|Unimplemented||Fish (Mob) • Friendly Wither • Redstone Bug • Giant • Human • Rana|
|Boss||Wither • Ender Dragon|