Redstonery
RedstoneryCircuits › Stoppable repeater clock
Clock circuit

Stoppable repeater clock

Give an oscillator an explicit run control.

5 × 5 footprint1 layer14 blocksTested in 4 rotationsJava Edition 26.2
Open in the simulatorBuild it in the game

Layout

Layer 0 (on the floor)
stone at x 0, z 0redstone torch (on a wall) [facing=east] at x 1, z 0redstone dust at x 2, z 0repeater [facing=west, delay=4] at x 3, z 0redstone dust at x 4, z 0redstone dust at x 4, z 1redstone dust at x 0, z 2redstone dust at x 1, z 2redstone dust at x 2, z 2redstone dust at x 3, z 2redstone dust at x 4, z 2redstone dust at x 0, z 1redstone dust at x 0, z 3lever [face=floor, facing=north, powered=false] at x 0, z 4
redstone dustredstone torchrepeater or comparatorinputsolid blockarrows point where a device sends its output; north is up

How it works

A Stop lever holds the torch inverter off. Released, the loop produces 10 game ticks high and 10 low. Stopping forces the designated output low; releasing Stop starts oscillation again.

  1. With Stop off, the repeater loop oscillates with 10 game ticks high and 10 low.
  2. Turning Stop on forces the torch inverter off and the designated output low. Releasing Stop restarts the oscillator.

Timing

Measured at the output: a period of 20 game ticks (1.0 s), 10 ticks high and 10 low, repeating for the 600 ticks the test watches.

Inputs and outputs

  • InputStop (x 0, y 0, z 4)
  • Outputclock (x 2, y 0, z 0)

Blocks you need

10 × redstone dust, 1 × stone, 1 × redstone torch (on a wall), 1 × repeater, 1 × lever.

Build it in the game: 14 commands

Relative to where you stand, with x running east and z running south. Paste one line at a time into chat, or into a chain of command blocks. The block art is the game's own; the layout is what the page above shows.

setblock ~0 ~0 ~0 minecraft:stone
setblock ~1 ~0 ~0 minecraft:redstone_wall_torch[facing=east]
setblock ~2 ~0 ~0 minecraft:redstone_wire
setblock ~3 ~0 ~0 minecraft:repeater[facing=west,delay=4]
setblock ~4 ~0 ~0 minecraft:redstone_wire
setblock ~4 ~0 ~1 minecraft:redstone_wire
setblock ~0 ~0 ~2 minecraft:redstone_wire
setblock ~1 ~0 ~2 minecraft:redstone_wire
setblock ~2 ~0 ~2 minecraft:redstone_wire
setblock ~3 ~0 ~2 minecraft:redstone_wire
setblock ~4 ~0 ~2 minecraft:redstone_wire
setblock ~0 ~0 ~1 minecraft:redstone_wire
setblock ~0 ~0 ~3 minecraft:redstone_wire
setblock ~0 ~0 ~4 minecraft:lever[face=floor,facing=north,powered=false]