Redstone Digital Clock

A redstone digital clock tracks real-time seconds, minutes, and hours using a 10-tick pulse generator and chained locked-repeater shift registers. It is an impressive technical project for survival bases, minigame lobbies, or adventure maps that need accurate real-world timekeeping. This tutorial covers the complete 12-hour clock core—including the 1-second heartbeat, all five repeater counters, and the T flip-flop for the tens-of-hours digit.

Displays & LightingIntermediateJava & Bedrock
Redstone Digital Clock video tutorial

Video: How to Build a Redstone Digital Clock by ChunkySquares

How to build it

  1. Build the 1-Second Clock Heart

    Create a loop of redstone repeaters connected by redstone dust at the corners. To achieve a 10-tick (1-second) delay per side, place two repeaters set to 4 ticks and one repeater set to 2 ticks in series, then mirror them on the return side to complete the loop.

  2. Start the 1-Second Pulse

    Briefly power one corner of the repeater loop with a redstone torch or button and break it immediately so a single pulse circulates continuously every second.

  3. Lay Out the First Locked-Repeater Chain

    For the single-seconds counter (0–9), place 10 repeaters in a straight line all set to the 2-tick position. Directly alongside each repeater in the chain, place another repeater pointing into its side to lock it.

  4. Wire the Locking Line

    Run a line of redstone dust behind all 10 side-locking repeaters and power that line with a solid block holding a redstone torch. All 10 main repeaters should now display the bedrock locking bar across them.

  5. Add the Observer Pulse Shaper

    Place a sticky piston with an observer on its face so that extending the piston moves the observer into alignment with a 3-tick repeater leading into the block holding the locking redstone torch. When triggered, the observer outputs a 1-tick pulse that the 3-tick repeater widens into a brief 2-tick torch blink, unlocking the chain just long enough for the signal to advance one step.

  6. Prime and Loop the Counter

    Temporarily power the entry of the 10-repeater chain and trigger the pulse shaper once so only the first repeater holds an active charge. Remove the temporary power source, then wire the output of the 10th repeater back around into the input of the 1st repeater to form a closed counting loop.

  7. Build the Remaining Time Counters

    Repeat Steps 3–6 to build four more locked-repeater loop counters alongside the first: a 6-position counter (0–5) for tens of seconds, a 10-position counter (0–9) for single minutes, a 6-position counter (0–5) for tens of minutes, and an 11-position counter for single hours (which uses two '1' positions to cover 1:00 through 12:00).

  8. Build the Tens-of-Hours T Flip-Flop

    Because a 2-position repeater loop cannot reset cleanly, build a piston T flip-flop for the tens of hours (0 and 1). Place two regular pistons facing each other with a gap between them to push a Block of Redstone back and forth, and use sticky pistons to shift solid conductive blocks so each incoming pulse routes power to whichever piston will push the redstone block to the opposite side.

  9. Chain the Counters Together in Series

    Connect the output of your 1-second Clock Heart to the pulse shaper of the single-seconds counter. Then wire the '0' position output of each counter to the pulse shaper input of the next counter in line; for the 11-position single-hours counter, branch outputs from both its '0' position and its second '1' position into the tens-of-hours flip-flop so 12-hour rollovers work properly.

  10. Read the Time or Prepare for a Display

    Label each repeater position with signs or blocks (0–9, 0–5, etc.) to read the active lit repeater directly on the board, or tap repeater outputs off each stage to feed a 7-segment display decoder.

How it works

This digital clock breaks timekeeping down into three distinct logic modules:

  • The Clock's Heart (1-Second Oscillator): In Minecraft, 1 redstone tick equals 0.1 seconds, meaning 10 redstone ticks equal 1 full second. By placing two 4-tick repeaters and one 2-tick repeater in series (4 + 4 + 2 = 10 ticks) inside a closed loop, the circuit generates a steady pulse every second.
  • Locked-Repeater Shift Registers (The Counters): When a repeater is powered from the side by another repeater, a bedrock bar appears and freezes its current state (on or off). All repeaters in the counting chain are set to 2 ticks and kept locked by a redstone torch line. When a pulse arrives, a sticky piston pushes an observer into a 3-tick repeater, briefly turning the locking redstone torch off for 2 ticks. That window is just wide enough for the single stored 'on' pulse to shift forward by exactly one repeater before the lock re-engages.
  • Cascading & Flip-Flop Logic: Looping the end of a counter back to its start creates a modulo ring counter (base-10 for single seconds/minutes, base-6 for tens of seconds/minutes, and an 11-step ring for 12-hour single hours). Whenever a counter loops back to its zero position, it fires a pulse into the next counter's observer piston. Because a 2-step locked repeater loop feeds back into itself before locking, the final tens-of-hours digit (0 or 1) uses a piston and redstone block T flip-flop instead.

Tips & variations

  • Why the 3-Tick Repeater Matters: A raw 1-tick pulse from an observer is too fast to reliably turn off a redstone torch. Running the observer output through a repeater set to 2 or 3 ticks stretches the pulse to 2 ticks so the locking torch blinks off cleanly.
  • Priming Mistakes: If two adjacent repeaters in a counter are accidentally lit at the same time, break the locking redstone torch to clear the entire chain, replace the torch, and carefully load a single pulse into the first repeater before reconnecting the feedback loop.
  • Java & Bedrock Compatibility: Because the observer is pushed into place by a sticky piston first and only outputs on extension, this pulse shaper and locked-repeater counter work reliably in both Minecraft Java Edition and Bedrock Edition.
  • 24-Hour Variant: If you prefer a 24-hour clock over a 12-hour format, adjust the hours counters so that the system resets cleanly after 23:59 back to 00:00.

Frequently asked questions

How many redstone ticks make 1 real-life second in Minecraft?
One redstone tick is one-tenth of a second (0.1s), so 10 redstone ticks equal 1 real-world second. You can create a 10-tick delay using two 4-tick repeaters and one 2-tick repeater in series.
Why does the tens-of-hours digit use a T flip-flop instead of locked repeaters?
A 2-position locked repeater loop fails when resetting because the active signal loops all the way back to the first repeater while the chain is still unlocked, causing both repeaters to stay powered. A piston T flip-flop cleanly toggles between 0 and 1 on every pulse.
Why doesn't the observer pulse turn off the redstone torch directly?
Redstone torches ignore 1-tick pulses from observers. Passing the observer's output through a repeater set to 2 or 3 ticks lengthens the signal into a 2-tick pulse that reliably turns the torch off and on.
Does this redstone digital clock work on both Java and Bedrock?
Yes, the creator designed and tested this locked-repeater counter and piston flip-flop clock to work in both Minecraft Java Edition and Bedrock Edition.

Components used

More seven-segment display