Minecraft wiki entry for Defense, associated text: You could try dispensers to defend your home entrance, but you would need a lot of arrows. Another idea is to push the mob or player in a moat to it a pressure plate, activating a dispenser. It works better with multiple dispensers, all with redstone repeater.