Minecraft wiki entry for Shelters, associated text: If you have a lot of iron, you can create a separate room containing multiple iron golems. This can be opened via a piston door to allow iron golems into a courtyard or garden. This will allow them to be sent to kill zombies if your house is under siege.