Minecraft wiki entry for Iron_golem_farming, associated text: In Java Edition, a villager can attempt to spawn an iron golem while not having a golem alive within the box of radius 16 blocks around the villager and more than 30 seconds has passed.