Tutorials/Iron golem farming

Iron golem farming uses village mechanics to produce iron, as well as byproducts such as poppies and string. Usually, an iron golem farm is a player-constructed village in which golems are spawned and then either killed immediately, or moved to a holding cell outside the village boundary for later killing.

Overall spawning requirements
An iron golem needs an available volume in which to spawn. There must be at least 3 transparent blocks (preferably air, not other transparent blocks like glass) above the spawning surface, which must be solid and flat (but not a slab).

Java Edition
In Java Edition, a villager may attempt to spawn an iron golem after "talking" to 10 other villagers. The villagers must have access to their workspace and have slept before the golem will spawn, however.

Iron golems can spawn when non-nitwit villagers who have slept in beds gossip five times about needing a golem at a gathering point, and four other villagers are within 80 blocks. Once these conditions are met, an iron golem can spawn in a 16×6×16 area centered on the location of the villager who spread the gossip.

Bedrock Edition
In Bedrock Edition, villagers are not required to sleep or have a workstation in order to spawn iron golems. For an iron golem to spawn, the following conditions must be met:
 * The village has at least 21 beds
 * The village has at least 10 villagers, each of whom has claimed a bed

The potential spawning volume is 8 blocks horizontally around all sides of the beds, 2 layers below the bottom of the beds and 2 layers above the bottom of the bed (the 2 layers above include the one the bed is in).

If beds are placed 3 or more blocks above ground, iron golems cannot spawn on the ground; a spawning surface is needed within the spawning region.

Java Edition videos
Expandable, Low Lag & Survival Friendly
 * Avomance's Compact Iron Farm 1.14


 * DocM's Iron Farm

Bedrock Edition videos
These videos do not accurately represent the iron golem spawning mechanics as they exist in Bedrock Edition 1.11.