Minecraft – Two short pulses generated when input goes high

minecraft-java-editionminecraft-redstone

I made a mob grinder that is based on dark room, dispensers with water buckets and a fall damage:

image description

What I need now is to generate two short pulses when monster hits the tripwire to quickly spawn and remove water and push them down

Best Answer

You can use a classical piston short pulser and multiply the output. Here's a schematic depiction (top and side view).

Double short pulser

Place a sticky piston with a block on top (yellow), and place a repeater facing into the block. This is your input (green). Place redstone dust on two sides of the block. Powering the block will cause the piston to extend after 1 tick, but before that, the dust will be powered. Use repeaters to delay one of the signals by at least 2 ticks. Since it's only a one-tick pulse, you have to use multiple 1 tick repeaters, IIRC (2 ticks might work).

The piston will retract when your input signal turns off.