Minecraft wiki entry for Defense, associated text: To activate the contraption, break the dirt block. The dispenser will rapidly fire arrows in the corresponding direction until it runs out. When it does, the command block will automatically refill the dispenser with arrows. To deactivate the contraption, replace the dirt block in front of the observer.