Iron Golem

Iron Golems are a village's self-defense mechanism introduced in 12w08a.

Creation
Iron Golems can spawn naturally in villages, or be built with blocks, similar to a Snow Golem. It takes 4 Blocks of Iron to build an Iron Golem, which is equivalent to 36 Iron Ingots. Iron Golems always spawn facing south.

Behavior
Iron Golems roam villages, moving slowly, and are passive. When provoked, Iron Golems will move faster toward their target and swing their arms violently at their target (their damage ranges from 4 hearts to 10 hearts).

They will attack Endermen, zombie pigmen, blazes, silverfish, skeletons, spiders, cave spiders and zombies if any of them are within its sight. They will also attack the player if the player attacks them first or if the player attacks a nearby villager. The Iron Golem does not have to see the player attack a villager but if a player does and later moves into the Golem's line of sight then the Golem will attack the player. They do not despawn if switched to peaceful and will continue to attack the player.

Golems do not attack creepers (maybe because they would explode when it attacks them, destroying the village over time) or slimes/magma cubes (Bug?) If an Iron Golem accidentally hits another Iron Golem, it does not damage it, nor does it provoke the other Iron Golem to attack it.

Upon death, Iron Golems drop three to five Iron ingots, and sometimes one or two roses. If an Iron Golem is killed that belonged to a village, it will eventually respawn.

Iron Golems take damage from lava, fire and drowning. They do not take fall damage.

Iron Golems will sometimes pick up roses and offer them to villagers.

Defense
An Iron Golem's primary purpose is to defend villages from zombie attacks. When attacking, they swing their arms as if tossing the enemy. The enemies are thrown up into the air and killed.

History
Iron Golems were introduced in 12w08a.

Bugs

 * Iron Golems do not attack Creepers (may not be a bug, as wolves also don't attack them), Magma Cubes, Ghasts or Slimes.
 * Sometimes an Iron Golem's texture is pure white or invisible.
 * When creating Iron Golems in a 3 tall area the block directly above the Iron Golem will be removed. (taller than 3 blocks?)
 * Iron Golems always get an enderpearl by killing an Enderman

Trivia

 * Iron Golems have a nose resembling that of a Villager.
 * At times it will hold out a Rose to baby Villagers. This may be a reference to the movie Laputa: Castle in the Sky.
 * When babies notice the Rose in its hand, they watch the Iron Golem until one of them approach shyly and take the flower away.
 * Just like for the Snow Golems, the pumpkin must be placed last.
 * There is no Spawn Egg for iron golem because they can be created by the player.
 * Since Iron Golems look like Villagers and respawn in NPC Villages, they must be created by Villagers to defend themselves against hostile mobs and particularly Zombies.
 * Unlike other mobs, Iron Golems sink to the bottom in lakes, rivers and oceans.
 * When created a snow particle effect will be displayed.
 * There is no maximum amount of Iron Golems per village.
 * Iron Golems are a renewable source of iron (only village ones).
 * Iron Golems are the second utility mob in Minecraft, after Snow Golems.