Minecraft wiki entry for Trap_design, associated text: A redstone clock can be used to generate periodic pulses. This is almost always used with arrow dispensers or a trap that is triggered periodically such as a piston grinder.