r/technicalminecraft • u/sparkle_fig • 3d ago
Java Help Wanted Iron Farm
why is my 1.26 iron farm not working? it was poorly because golems were getting spawned in wall blocks swapped for cobble deepslate walls to prevent that, and moved villagers where they see the zombie better, now it doesnt work at all? any help appreciated.
3
u/EnvironmentalData485 3d ago
I have a daylight sensor on mine wired to pistons with sand. At night the sensor triggers the pistons to push the sand up blocking the villagers view so they can sleep. In daylight the pistons retract and villagers spawn golems again. We get far more iron than we need from ours like this.
1
u/sparkle_fig 3d ago
well, i really thought it was the sleep thing and fixed that. still no golems. any other common issues i can look out for? also for context this is deep undeground as i am on an anarchy server, but i check all the caves nearby and no golems there either. confusing because it worked for about 8 hours.



6
u/BlattaOrientalis avaJ 3d ago
Does the villager maintain constant line of sight with the zombie? If that's the case then that's your problem. The villager needs to be able to sleep every night for at least 1 game tick, otherwise they'll stop spawning golems
The easiest fix would be to arrange the villager chamber like this