Minecraft wiki entry for Iron_golem_farming, associated text: Zombies nearby increase the spawn rate of iron golems. If a zombie is seen by villagers, they panic and increase the rate of spawn attempts.