One-Shot Hopper Timer

Standard hopper clocks loop endlessly, which isn't helpful when you only want a machine to run for a set duration and then stop. The X Clock is a modified one-shot hopper timer (pulse extender) that fires for a customizable duration—from a few seconds up to over four minutes—before automatically shutting itself off. It is ideal for automated farms, traps, mini-games, and timed door locks.

Pulse CircuitsBeginnerJava & Bedrock
One-Shot Hopper Timer video tutorial

Video: Minecraft One-Shot Redstone Timer Tutorial (X Clock Design) | Java and Bedrock 1.21 Tutorial by VidMC

How to build it

  1. Build the Two X-Shaped Frames

    Create a vertical 3x3 'X' pattern using 5 solid blocks, then knock out the top-inner and bottom-outer blocks to leave a diagonal stair shape. Skip a 2-block gap horizontally and build a mirrored diagonal shape on the other side.

  2. Place the Hoppers and Comparators

    In the 2-block gap at the bottom, crouch-place your two hoppers so their spouts point directly into each other. Place one Redstone Comparator on each side frame, facing outward away from the hoppers.

  3. Attach the Four Frame Torches

    On both the left and right frames, place a Redstone Torch on the outer middle block under the comparator level, and another torch on the inner top block above the comparator.

  4. Install the Sticky Pistons and Redstone Block

    Break the two upper inner temporary blocks so you can place two Sticky Pistons above the hoppers, facing inward toward each other. Place the Block of Redstone directly above one of the hoppers in front of a piston.

  5. Add the One-Shot Stopper Torch

    Place your 5th Redstone Torch on the side of the block behind the resting side's comparator so it keeps the upper piston powered. This locking torch prevents the clock from looping forever once a cycle finishes.

  6. Load Items and Add the Trigger

    Place your calculated number of stackable items into the hopper currently sitting underneath the Redstone Block. Attach a button (or an input line) to the block holding the 5th stopper torch to trigger the timer.

  7. Wire an Instant-Reset Output (Optional)

    To keep an output active for the full cycle with zero cooldown, take a comparator output from the second (initially empty) hopper and run it into a repeater to boost the signal to full strength.

  8. Add a Single-Pulse End Trigger (Optional, Java)

    If you only want a brief pulse when the timer finishes, run the boosted repeater into a block with a Redstone Torch on it. Feed that torch through a repeater into a block pushed upwards by a sticky piston to create a rising-edge monostable output.

How it works

The X Clock modifies the classic Etho hopper clock into an on-demand pulse extender by locking one side of the cycle:

  • Resting State: All timing items rest in the first hopper, which is locked by the Block of Redstone sitting directly above it. Because the second hopper is empty, the stopper Redstone Torch stays lit and holds the active sticky piston extended.
  • Triggering the Cycle: Pressing the button briefly turns off the stopper torch. The piston retracts and the opposite piston pushes the Redstone Block over the second hopper.
  • First Half (Transfer): The first hopper unlocks and begins pushing items into the second hopper at a rate of 2.5 items per second (0.4 seconds per item).
  • Second Half (Return): Once the first hopper empties completely, its comparator turns off, allowing the top torch to fire the second piston and push the Redstone Block back to its starting position. The items now drain back into the first hopper.
  • Instant Reset: When reading the second hopper with an extra comparator, the signal stays high from the moment the first item enters until the very last item leaves. The instant the output turns off, all items are back in the first hopper and the timer can be fired again immediately.

Tips & variations

  • Easy Timing Formula: Multiply your desired time in seconds by 1.25 to get the exact item count (Seconds × 1.25 = Items). For example, a 2-minute timer (120 seconds) needs 120 × 1.25 = 150 items (2 stacks + 22 items).
  • Maximum Duration: A single hopper holds 5 stacks of 64 items (320 items total), giving a maximum single-module time of 256 seconds (4 minutes and 16 seconds).
  • Chaining for Longer Timers: You can link the end-pulse output of one X Clock into the trigger input of a second X Clock to double the duration to over 8.5 minutes.
  • Observer Input Fix: An observer's 1-tick pulse is too fast to reliably unpower the stopper torch. Place a Redstone Repeater set to 2 ticks between an observer and the input block.
  • Infinite Clock Mode: Placing a lever on the input block and leaving it flipped ON disables the stopper torch permanently, turning the circuit back into a standard looping hopper clock.
  • Java vs. Bedrock Note: The core X Clock and instant-reset comparator output work identically on both Java and Bedrock. However, the upward sticky piston monostable circuit relies on Java piston spitting mechanics; Bedrock players should replace that end-pulse add-on with a Bedrock-compatible falling/rising edge detector.

Frequently asked questions

How do I calculate how many items to put in the hopper?
Multiply the number of seconds you want the timer to run by 1.25. If you get a decimal, simply round to the nearest whole item.
What is the longest time a single X Clock can run?
Filled completely with 5 stacks of 64 items (320 items total), one timer runs for a maximum of 256 seconds, or 4 minutes and 16 seconds.
Why won't my observer trigger the timer?
An observer pulse is too short to deactivate the locking torch long enough for the pistons to swap. Add a Redstone Repeater set to 2 ticks after the observer.
Does this one-shot timer have a cooldown before I can press the button again?
If you take your output from a comparator reading the second hopper, there is zero cooldown. The output stays on while items transfer both ways and turns off the exact moment the timer finishes resetting.

Components used

More pulse extender