Iron Golem

Iron golems are large, strong utility mobs that defend villagers.

Creation
Iron golems spawn naturally in villages, provided there are 10 villagers and at least 21 houses. The chance of spawning is 1 in 7000 per tick, which averages around one every six minutes.

The golem also can be built using blocks in a similar fashion to snow golems and withers. The pumpkin must be placed last by the player. Players should not manufacture iron golems next to a wall because they may suffocate and die.

Behavior
Iron golems will wander around a village in a patrol-like fashion, staying close to the edges of buildings and such. If not within a village, iron golems will slowly wander aimlessly, attacking any hostile or neutral mob within 16 blocks of them (excluding wolves). Iron golems are immune to drowning and fall damage, making them good tools for both villager protection and personal use. They will sink in water, become immobile, and will not attack anything while in water.

Iron golems can walk up a full block height without jumping and walk over a 1 block wide hole without falling in. They will avoid water and lava at all times, but they make no attempt to avoid fire or cacti.



Like villagers, iron golems will not wander away from a village, regardless of how they were spawned. Iron golems will sometimes face a villager, as if they are speaking to each other. Iron golems are able to hold poppies and give them to villagers, symbolizing the friendly relationship between the villagers and golems. However, they won't give poppies to other iron golems.

Attack
Naturally spawned iron golems will attack the player if the player attacks them first, but will give up if the player moves out of their search radius. The iron golem will also attack the player if they attack a nearby villager. The iron golem does not have to directly see the player/mob attacking a villager to become hostile.

Any iron golems built by the player will never attack players under any circumstances, but will still protect villagers from zombies. Iron golems will never attack ghasts and will only attack a creeper if it happens to cross its path.

When provoked, an iron golem will move quickly toward its target and once in range will swing their arms up violently to attack, dealing to  damage and flinging the target into the air. This attack is the 2nd strongest attack in the game, beaten only by a creeper's explosion. Iron golems have a comparatively large attack range, allowing them to attack through a solid 1 block thick wall, even without line of sight to the target.

Drops
Iron golems drop 3-5 iron ingots and 0-2 poppies upon death.

Defense
An iron golem's primary purpose is to defend villages from zombie attacks. Although slow, their high health and attack strength prove them to be great defenders. They swing their arms during their attacks, causing enemies to be thrown into the air and usually killed in one or two attacks. Player usage might involve enclosing golems in a large fenced-off area to prevent their wandering off, although such control of the area could be accomplished in simpler ways.

Although iron golems are very strong mobs, they require a good deal of iron to build, and are prone to wandering off or being distracted by nearby monsters.

Zombies, skeletons, spiders, cave spiders, slimes, magma cubes and blazes will naturally attack iron golems, possibly causing it major damage especially in groups. Additionally, the golems may attack nearby creepers, endermen, zombie pigmen, spider jockeys, cave spiders and witches which can also severely damage them. Players are encouraged to help iron golems in these situations to ensure their survival. Iron golems, like passive mobs, can be leashed.

Spawning
Golems will spawn in a 16×16×6 area, centered between the 21 or more valid doors in a village if it has at least 10 villagers. There is a 1/7000 chance the game will try to spawn a golem.

Farming


An iron golem farm is an artificial village in which golems are spawned and then either killed immediately, or moved to a holding cell for later killing. A holding cell housing the golems can be created to allow the player to easily farm the golems after the player has remained inactive at the farm. Alternatively, resources can be collected using hoppers after they have died from suffocation or lava.

Video
''This video states the iron golem as having the second highest health. This was before the introduction of the Wither, meaning they now have the third highest health.''

Trivia



 * The iron golem's dimensions are 2.9 blocks high and 1.4 blocks wide.
 * Since the iron golem's height is 43 pixels, one of its pixels is 6.3 centimeters in length, and its volume is 5747 pixel blocks, the iron golem's total volume is 1.44 cubic meters. If we assume that the golem is made entirely of iron, then the golem itself weighs 11309 kg, or 24,932 pounds.
 * The iron golem is a purchasable avatar item on the Xbox 360 Marketplace.
 * The iron golem's holding out flowers to villager children is a reference to the ancient robots in Hayao Miyazaki's animated film Laputa: Castle in the Sky, as is the fact that the Golems are covered in vines.
 * When villager children notice the poppy in its hand, they will slowly approach, and take the flower eventually. Iron golems do not actually pick up poppies; they spawn them in their hands.
 * The Looting enchantment is ineffective against iron golems and does not give any extra iron ingots or poppies when killed.
 * Iron golems will target snow golems if hit by a snowball, usually killing it in one hit.
 * If an iron golem is attacked by multiple mobs, it will retaliate in the order it was attacked.
 * Tamed wolves will continue to attack iron golems even after the iron golems have turned passive towards the player.
 * If a player throws an ender pearl at an iron golem, it will become hostile.
 * A base with iron golem and snow golem defenses is one of the best mob defenses available. While creepers might explode on the golems, this can be overcome by adding a double-slab wall for your buildings or by having a perimeter of cats.
 * Iron golems tend to stay near villagers at all times when not aggravated.
 * Two iron golems may fight each other. The golems will stand face to face and slowly back up, until one or both charge in quickly.
 * Iron golems have a chance of accidentally hitting another mob while attacking a hostile mob.
 * Iron golems may spawn in large houses and will need a player's help to get out.
 * It is possible for multiple golems to simultaneously hit the same target. The height to which the victim is sent flying is relative to the number of golems that attack it.
 * Even with a poppy in its hands, an iron golem can still hit a hostile mob.