
Video: I Made the Best Minecraft Redstone Digital Clock - Showcase + Tutorial by M310N
How to build it
- Align the Display Within Chunk Borders
Turn on chunk borders (F3 + G in Java, or find coordinates divisible by 16 in Bedrock) so the entire 14-block-long clock sits cleanly inside one or two chunks. Place your first seven-segment redstone lamp digit near the border and build five blocks down and one block diagonally to mark the main input.
- Build the Test Input and Subtract Comparators
Place a 2-tick repeater at the input block, fed by an observer with a lever on it so you can manually step the clock during testing. Behind the input, build the orange counter circuit using two comparators set to subtract mode, with a whole cake placed behind the second comparator to supply a constant signal strength of 14.
- Complete the Signal Strength Counter and Reset Loop
Place a target block with a redstone torch on top, then run a comparator output from the target block into the main comparator memory loop. Add the upper reset line using a comparator in subtract mode reading from a barrel filled with 18 full stacks of items so the counter resets back to zero as soon as it reaches 10.
- Construct the 10-Slice Redcoder
From the counter's output block, extend a 10-block line back to represent digits 0 through 9. Lay parallel lines of target blocks, repeaters, redstone dust, and redstone torches along the 10 slices so that only one redstone torch at the top turns off/on per signal strength level.
- Stack the Vertical Torch Tower
Above the redcoder outputs, build alternating horizontal rows of solid blocks and redstone torches four levels high. This vertical grid carries each digit's active slice upward so you can tap into specific rows for the seven-segment display.
- Program the Seven-Segment Decoder Lines
Run seven horizontal redstone dust and repeater lines across the torch tower levels, placing solid blocks to isolate the tiers. Knock out specific redstone torches along each row according to which segments need to light up for numbers 0 through 9.
- Wire the Decoder to the First 7-Segment Lamp Display
Using a distinct block color, route each of the seven decoder output lines forward into the seven segments of your redstone lamp digit. Use target blocks and 1-tick to 4-tick repeaters to equalize the travel delay, and add a 2-tick repeater lock on the side line to prevent a brief flash when the digit rolls over from 9 to 0.
- Test Digit 0–9 and Build the 0–5 Tens-of-Minutes Digit
Flick the lever on your test observer to cycle from 0 to 9 and verify every lamp segment forms the right number. Next to the first unit, route the carry line into an identical second counter, but fill its reset barrel with only 10 full stacks of items and build only 6 redcoder/decoder slices (leaving off the back 4 slices) so it counts from 0 to 5.
- Connect the Hour Digits and Villager Morning Auto-Sync
Repeat the counter, redcoder, and 7-segment display wiring for the hours digits (plus an optional AM/PM indicator for 12-hour mode). Finally, connect your master timing clock and wire a tripwire hook above a villager's bed to the reset line so the display automatically syncs to 6:10 AM every morning when the villager wakes up.
How it works
This digital clock breaks timekeeping down into four modular stages per digit:
- Signal Strength Counter: Each pulse from the input observer increments the signal strength stored in a comparator memory loop by 1. A cake provides a reference strength of 14 into a subtract comparator, stepping the loop cleanly without losing signal.
- Barrel Reset & Carry: A subtract comparator compares the loop's current strength against a barrel. For the ones-of-minutes digit (0–9), 18 stacks of items set the threshold so that reaching signal strength 10 triggers a wipe pulse and sends a carry pulse to the next digit. For the tens-of-minutes digit (0–5), 10 stacks of items trigger the reset after 5.
- Redcoder: A 10-block (or 6-block) distance-based decoder reads the analog signal strength and isolates it into a single active vertical slice. It briefly turns the previous slice off for 1 tick before lighting the next, giving redstone lamps time to deactivate cleanly.
- 7-Segment Decoder & Auto-Sync: The active slice powers a vertical column of torches that selectively powers seven horizontal lines—one per segment of the digit. In the morning, a sleeping villager wakes up half a second after 6:00 AM and walks through a tripwire, resetting the counters to
6:10to stay synced with the world time.
Tips & variations
- Fixing Bedrock Glitching: If two torches in the counter start flashing rapidly on Bedrock Edition and the display garbles, locate the flashing redstone dust near the orange input circuit, break it, and place it back down to clear the stuck loop.
- Chunk Alignment: Keep the entire 14-block-long build inside one or two aligned chunks so unloading the area doesn't desync the comparator loops.
- Quieting the Villager: If villager noises bother you, lower Friendly Creatures in your sound settings, use a Vanilla Tweaks silence name tag, or swap the morning detector for an inverted daylight detector (note that daylight detectors can drift during rain).
- Thunderstorm Limitation: Sleeping during the daytime while a thunderstorm is active will not trigger the morning reset properly.




