Minecraft wiki entry for Defense, associated text: The best way to use these is keep them in an enclosed space with a door operable by lever. If invading mobs get too close for comfort, you can flick the lever and release the golems to clear the area. Alternatively, you can simply leave them wandering free in a walled off area.