Iron Golem

Iron Golems are large, strong utility mobs. Their main purpose is to defend Villagers in NPC Villages from hostile mobs and siege attacks. They protect villagers from getting killed.

Creation
Iron Golems spawn naturally in NPC Villages, provided there are 10 villagers and at least 21 houses (counted as doors). An Iron Golem will also spawn in player-made villages. The chance of spawning is 1 in 7000 per tick which averages around one every six minutes.

The golems can be crafted using blocks in a similar fashion to Snow Golems. To do so, the player must vertically place 4 blocks of iron in a T-shape, and place a Pumpkin or a Jack-O-Lantern on top. The pumpkin must be placed last. They will always spawn facing south. Iron Golems cannot be manufactured by a piston assembly line without player(s) interaction. Player should not manufacture golems next to a wall because it may take suffocation damage and die. Players should take note that Iron Golems, like Snow Golems, cannot be crafted in a crafting table.

Behavior
Iron Golems behave similarly to a tamed wolf, although they are slower and loyal to Villagers instead of players. Iron Golems are also a lot more powerful in that they have a greater attack force, a greater attack radius, more hit points, and resistance to drowning and fall damage; making them good tools for both villager protection and personal use. Note that they do not regenerate but can be healed with a splash health potion.

Attacking
Naturally spawned Iron Golems will attempt to attack the player if the player attacks them first, but will quickly give up(sometimes so quickly it will appear the golem didnt try to attack said player at all.). However, if the player attacks a nearby Villager, Iron Golems will pursue the player (only in Survival Mode). The Iron Golem does not have to directly see the player attacking a Villager to become hostile toward the player. If an Iron Golem is provoked by the player attacking it or a Villager, the Golem will become neutral again after the player runs away. Any Iron Golems generated through other means will not defend Villagers and have a habit of wandering off. Iron Golems will not attack Ghasts and will only attack a Creeper if the Creeper is low on health.

Iron Golems will only attack hostile mobs within five blocks on equal ground. During village sieges, however, a naturally spawned Iron Golem will seek out any hostile mob threatening a Villager, regardless of distance.



When provoked, Iron Golems will move quickly toward their target and once in range will swing their arms up violently to attack, dealing 3½ to 10½ hearts damage and flinging the target into the air. This attack is the strongest melee attack in the game, and one of the strongest attacks overall, only being beaten 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.

They can take damage from weapons, lava, fire, poison, cacti, and suffocation. They do not take fall damage or drowning damage.

Navigation
Iron Golems can climb up any solid surface that is at most one block high and can climb down ledges and holes if the bottom is at most three blocks deep and at least 2x1 blocks at the base. However they seem to be unable to climb down when walking on top of fences. They will not try to avoid contact with cacti and may even walk on top of them if they are able to do so. They avoid water and lava at all times because, whilst they do not take drowning damage, they cannot swim and will get stuck underwater like Slimes.

The player can push Iron Golems up ladders despite only being able to climb a single ladder themselves.

Iron Golems are able to hold roses and give them to Villagers, symbolizing the friendly relationship between the Villagers and Iron Golems.

Defense
An Iron Golem's primary purpose is to defend NPC Villages from Zombie attacks, and or other mobs usually during a siege. Although slow, their high health and damage 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, or rarely, three 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.

Iron Golems are very strong mobs, with more hitpoints than any monster short of the Ender Dragon and Wither. However, they require a good deal of iron apiece, and are prone to wandering off or being distracted by nearby monsters. Notably, in the Nether they will pick fights with Zombie Pigmen. In contrast, wolves are individually weaker, but can easily be bred, automatically follow the player, and will focus on the particular monsters that their master attacks or is attacked by. As of the 1.4.2 update, they will also attack Slimes.

Take note that while Iron Golems easily kill spiders, zombies, skeletons and silverfish, they have more trouble killing Endermen. This is because of the Enderman's natural speed and higher health. It may be wise to assist Iron Golems fighting Endermen.

Farming


It is possible to make a fully automatic iron and rose farm by building a "house" (see the trap example image below for details) in which Villagers can spawn.

If an area is made in which only Golems can spawn, then a trap can be set up to obtain the Golem's drop items.

Spawning
To spawn, Iron Golems need:-


 * A 2x2 blocks wide and four block high space (even though they're only three blocks high) to spawn
 * 16x16x6 maximum distance (see the spawn conditions image for details) from the center of the village
 * For maximal control, no nearby houses (in a 50x50 area) should be made - if you're making the trap near a natural village, or your house, make sure there are no doors so they won't be classified as houses.
 * To be on the same level as a valid wooden door. If you don't have a spawning platform (meeting the previously mentioned criteria) on the same level as a valid wooden door, then Iron Golems will not spawn.
 * Note: A valid door does not have to be one that is accessible to Villagers or connected to any houses that they are in
 * The village must contain more than 20 doors
 * One Iron Golem will be able to spawn for every 10 Villagers in a village (This was recently changed from every 16 Villagers). 10-19 Villagers spawn one Iron Golem, 20-29 spawn two Iron Golems etc.

There is no limit for the number of Iron Golems per village.

Note: If your Villagers aren't spawning any Iron Golems and there are no other houses nearby, dropping water on the Villagers will update them, and force them to start the Iron Golem spawning, provided the spawn conditions are met.

Killing
There are several ways to kill Iron Golems and obtain their drop items. The following are the most effective ones: Note: Falling and drowning traps are ineffective as Iron Golems don't take fall or drowning damage.
 * Suffocation by a sticky piston and a block. The killing can start instantly after spawning but it will clog up the trap, making other Golems unable to either spawn or die, depending on the design.
 * By lava that won't touch the Golem's feet (since this is where the drops appear). This is the most damaging (and therefore quickest) of the automated killing methods. An example picture of this method is shown to the right.

If the Iron Golems are dropped at least seven blocks below the floor block(s) of the house, they will immediately be outside the village boundaries, and therefore detached from the village, so a new Golem will be able to spawn, even before the previously village-attached Golems have died.

If there is no other spawn space available, Iron Golems will be able to spawn inside liquids, meaning an instant lava killing trap is possible, as shown on the picture to the right. Dropping the Iron Golems out of the spawn boundaries as soon they spawn, however, could be seen as preferable to this method, as it ensures a higher Iron Golem spawn rate.

The traps could have a collection area, where the player can pick up the drop items. It is possible to have multiple Golems spawn in one area to make a very effective farm.

If a player is short on resources and time but still wants to harvest the iron from Golems, they may simply suffocate the Golems with blocks of sand or gravel. Golems are very slow-moving and tend to wait at the same spot when not patrolling a village, so it is very easy to drop three blocks of sand or gravel on top of them and wait for suffocation.

Bugs

 * Iron Golems can be affected by a bug which causes them to attack nothing. This is resolved when the chunk is unloaded.
 * If an Iron Golem attacks a Zombie Pigman the rest of the group will not become hostile.
 * An Iron Golem riding a minecart will ignore everything.
 * An Iron Golem can spawn in a two block high area if the block above the two air blocks is glass or a fence.
 * An Iron Golem can be spawned by the player in a 1x3 blocks wide and three block high space. This can make the Iron Golem receive suffocation damage if it is by a wall. The Iron Golem will stay there until freed.
 * Iron Golems can hit a target on the other side of a door. Their huge attack range also allows them to attack a target on the other side of a wall that is one block thick.
 * Occasionally their arms will be missing. They will still be able to attack and offer roses, however.
 * If an Iron Golem brushes against blocks it is possible for them to appear unlit.
 * Sometimes breaking ladders near an Iron Golem will cause them to become hostile if you have recently traded with a villager.

Trivia



 * The Iron Golem's dimensions are 2.9 blocks high and 1.4 blocks wide.
 * Iron Golems are not found in Xbox 360 Edition or Pocket Edition.
 * The Iron Golems holding out roses to Villager children is a reference to the ancient robots in the animated film Laputa: Castle in the Sky, as is the fact that the Golems are covered in vines.
 * When Villager children notice the rose in its hand, they will slowly approach, and take the flower eventually. Iron Golems do not actually pick up roses, they spawn them in their hands.
 * As with Snow Golems, the pumpkin must be placed last during the building process.
 * Also as with Snow Golems, there is no Spawn Egg for this mob. This is because the player can create them through other means.
 * Iron Golems will avoid water whenever possible, and unlike other mobs (apart from Slimes and Magma Cubes), it will sink to the bottom of any liquid.
 * As with Snow Golems, an Enderman can create an Iron Golem if they place a pumpkin on top of Iron blocks arranged correctly.
 * Iron Golems wobble as they walk, unique to other mobs which remain completely upright when walking.
 * The looting enchantment is not effective against Iron Golems.
 * Iron Golems are passive mobs if in water.
 * Iron Golems will target Snow Golems if accidentally hit by a snowball. Snow Golems will then become hostile toward the Iron Golem.
 * If an Iron Golem is attacked by multiple mobs it will retaliate in the order it was attacked.
 * Tamed wolves will continue to attack hostile Iron Golems after the Iron Golems have turned passive towards the player.
 * Iron Golems were fashioned to look like Villagers, having a protruding nose and single eyebrow.
 * When an Iron Golem sinks to the bottom of a large body of water, it will remain there completely still, as if deactivated.
 * If you throw an Ender Pearl at an Iron Golem, it will also suffer damage and become hostile to you.
 * A base with Iron Golem and Snow Golem defenses is one of the best mob defenses available. Although Iron and Snow Golems do not attack Creepers 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. The process starts over, with all the actions happening at random intervals.
 * Iron Golems have a chance of accidentally hitting/killing a Creeper while hitting another hostile mob.
 * Iron Golems may spawn in large houses and will then need a player's help to get out.