Auto-Dispenser Comparator Clock

An auto-dispenser comparator clock automatically detects items inside a dispenser or dropper and fires them out until the inventory is completely empty. This compact circuit is essential for chicken farms, automatic trash cans, bonemeal flower farms, and water-stream item elevators.

ClocksBeginnerJava Edition
Auto-Dispenser Comparator Clock video tutorial

Video: Minecraft Redstone Comparator Clock by Kino Minecraft

How to build it

  1. Place the Dispenser

    Place your dispenser facing the direction you want items to fire. You can optionally attach a hopper feeding into it for automatic item input.

  2. Add the Comparator

    Place a redstone comparator directly behind or beside the dispenser, facing away from it so the two back pins read the dispenser's inventory.

  3. Boost the Signal with a Repeater

    Place a redstone repeater directly in front of the comparator facing away from it. Leave it on its fastest 1-tick delay setting so the dispenser empties quickly.

  4. Loop Redstone Back to the Comparator

    Run a line of redstone dust from the output of the repeater around the corner so it feeds into the side of the comparator and also connects back to the dispenser.

  5. Upgrade for Full Inventories (2-Repeater Fix)

    If your dispenser fills up completely and jams the basic clock, place a solid block in front of the first repeater, run redstone dust around to the dispenser, and place a second repeater facing directly into the side of the comparator.

  6. Add a Piston Reset Switch (Optional)

    For the jam-proof reset version, use an extended sticky piston powered by a redstone torch to hold the solid block in front of the first repeater. Wire a button to the torch block so pressing it briefly retracts the block, drops the power, and restarts the clock.

How it works

This circuit combines inventory detection with a self-interrupting comparator loop:

  • Inventory Reading: When at least one item enters the dispenser, the redstone comparator detects it and outputs a weak redstone signal based on how full the container is.
  • Signal Boosting: The redstone repeater takes that weak signal, delays it slightly, and boosts it to a full signal strength of 15.
  • Clock Oscillation: The boosted signal loops around into the side of the comparator and into the dispenser. Because the side input is stronger than the back input (or subtracts it down to zero), the comparator turns off.
  • Repeating Cycle: Once the comparator turns off, the repeater turns off, removing the side signal. If items still remain in the dispenser, the comparator turns back on and fires another item, repeating until empty.

Tips & variations

  • Keep Delay at 1 Tick: You can slow the clock down by setting the repeater to 4 ticks, but keeping it on 1 tick is strongly recommended so incoming items don't back up and clog the dispenser.
  • Why Full Dispensers Jam: In the basic 1-repeater design, the redstone dust loses signal strength as it travels around the corner. If the dispenser is completely full (signal strength 15), the weakened side signal cannot turn the comparator off.
  • Preventing Clogs: Placing a second repeater pointing directly into the side of the comparator feeds a full strength-15 signal into the side, ensuring the clock keeps running unless completely stuffed.
  • Reset Button Recovery: If chunk unloading or a completely stuffed inventory freezes the clock, pressing the button on the piston reset variant briefly breaks the circuit loop and forces the dispenser to fire again.

Frequently asked questions

Why did my comparator clock stop firing when the dispenser got full?
When a dispenser is nearly or completely full, it outputs a maximum signal strength of 15. Because redstone dust loses strength as it loops around the corner, the side input becomes weaker than the back input and fails to turn the comparator off. Adding a second repeater pointing directly into the side of the comparator fixes this.
Does the dispenser fire continuously when empty?
No. The comparator only outputs a signal when there are items inside the dispenser. As soon as the last item is fired, the clock automatically stops and stays silent.
What farms can use this auto-dispenser clock?
You can use it in raw chicken farms to hatch eggs, automatic trash cans to shoot items into lava, tall flower farms to dispense bonemeal, item transport water streams, and fire charge traps.

Components used

More comparator clock