REDSTONEPEDIA › Circuits › Delays

Delay (delay line)

2-tick delay · 2 blocks

Whatever goes into the input comes out 2 ticks (0.1 s) later, every pulse the same length.

made of repeater · fits in 1×2×1

9 versions, 2 to 13 ticks

2-tick delayDelay3D view loading (or not available in this browser)

Every size 9

The best design for each size: pick one to see it.

sizeblocksnumbers
2 ticks (0.1 s) (this page)2 blocksneeds an input of at least 2 ticks (0.1 s) · two pulses 2 ticks (0.1 s) apart stay separate
4 ticks (0.2 s)2 blocksneeds an input of at least 4 ticks (0.2 s) · two pulses 4 ticks (0.2 s) apart stay separate
5 ticks (0.25 s)11 blocksneeds an input of at least 6 ticks (0.3 s) · two pulses 5 ticks (0.25 s) apart stay separate
6 ticks (0.3 s)2 blocksneeds an input of at least 6 ticks (0.3 s) · two pulses 6 ticks (0.3 s) apart stay separate
7 ticks (0.35 s)10 blocksneeds an input of at least 6 ticks (0.3 s) · two pulses 5 ticks (0.25 s) apart stay separate
8 ticks (0.4 s)2 blocksneeds an input of at least 8 ticks (0.4 s) · two pulses 8 ticks (0.4 s) apart stay separate
9 ticks (0.45 s)10 blocksneeds an input of at least 6 ticks (0.3 s) · two pulses 5 ticks (0.25 s) apart stay separate
11 ticks (0.55 s)10 blocksneeds an input of at least 8 ticks (0.4 s) · two pulses 5 ticks (0.25 s) apart stay separate
13 ticks (0.65 s)10 blocksneeds an input of at least 10 ticks (0.5 s) · two pulses 8 ticks (0.4 s) apart stay separate

Try it

Hold IN under the view for a long press, tap it for a short one: the box marked OUT turns red while the output is on. Press play under the view to watch a demo on a loop; touch any other control to take over.

How this design does it: One repeater set to 1: the signal comes out 2 ticks later.

Build it

Download .litematic Download the design as text

The .litematic opens in Litematica (Minecraft 26.3): every block of the design in one region. The text file is the same build written as plain text, block by block.

Blocks used: repeater stone

Details: how it works, measurements and properties

In depth

The output is a copy of the input, N = 2 ticks (0.1 s) later: a pulse goes in, the same pulse comes out N later, same length.

Pulses shorter than 2 ticks (0.1 s) (the shortest a real input makes) get lost. Two pulses closer than 2 ticks (0.1 s) (the shortest a real input makes) merge.

How to try it

Press play under the view to watch the demo on a loop (the badge reads demo with the step it is on; the same sequence is drawn as a timing diagram below). Touch any control to stop it and try the circuit yourself.

To try it: press and hold the IN button of the bar (or the cell tagged IN) to power that input; a quick tap sends a short 2-tick pulse.

Inputs are tagged in lime; the output is tagged OUT: the orange glass marker next to it glows while the output is on (the output strip by the demo badge shows its last 40 game ticks, 2 seconds). Drag to look around, pinch or scroll to zoom, step one game tick at a time with the step button.

Inputs and output over time

The input follows this schedule (the 3D view's demo plays the same). Lime: an input is on; orange: the output is on (taller = a stronger signal, 1 to 15). Time runs left to right in game ticks (20 ticks = 1 s).

gap 2gap 3gap 4gap 5gap 6gap 8gap 10hold 200INOUTticks05010015020025030035040045050055060065070075080085090095010001050

Swipe the diagram sideways: the whole sequence lasts 1104 ticks (55.2 s).

Step by step (18 lines)
in  2 ticks (0.1 s): +2 for 2
in  3 ticks (0.15 s): +2 for 3
in  4 ticks (0.2 s): +2 for 4
in  5 ticks (0.25 s): +2 for 5
in  6 ticks (0.3 s): +2 for 6
in  8 ticks (0.4 s): +2 for 8
in 10 ticks (0.5 s): +2 for 10
in 15 ticks (0.75 s): +2 for 15
in 20 ticks (1 s): +2 for 20
in 30 ticks (1.5 s): +2 for 30
2 x 20 ticks (1 s), gap  2 ticks (0.1 s): +2 for 20, +24 for 20
2 x 20 ticks (1 s), gap  3 ticks (0.15 s): +2 for 20, +25 for 20
2 x 20 ticks (1 s), gap  4 ticks (0.2 s): +2 for 20, +26 for 20
2 x 20 ticks (1 s), gap  5 ticks (0.25 s): +2 for 20, +27 for 20
2 x 20 ticks (1 s), gap  6 ticks (0.3 s): +2 for 20, +28 for 20
2 x 20 ticks (1 s), gap  8 ticks (0.4 s): +2 for 20, +30 for 20
2 x 20 ticks (1 s), gap 10 ticks (0.5 s): +2 for 20, +32 for 20
held 200 ticks (10 s): +2 for 200

Measurements

metricvaluewhat it means
N2 ticks (0.1 s)the delay: how much later the output copies the input
min-pulse2 ticks (0.1 s) (the shortest a real input makes)the shortest input pulse handled correctly (every longer one works too)
min-gap2 ticks (0.1 s) (the shortest a real input makes)the shortest gap between two input pulses that still comes out as two pulses
tileableevery 1 (0 0 1)

Notes from its designer

One repeater set to 1: the signal comes out 2 ticks later. Each repeater adds 2 ticks per notch of its setting, so any even delay is a line of them, 2 blocks (repeater + stone) per started 8 ticks

Properties

StudyDelays
KindDelay (delay line)
Blocks placed2 (not counting the input levers or buttons the view adds)
Box1×2×1 (2 blocks of space)
Made of (the blocks that change state)repeater
Inputs / outputsIN (repeater) / OUT
Flagsseveral versions of one mechanism
Design filedelay-rep2-n0

The design file

on GitHub

Design file (15 lines)
# Delay: 2-tick delay · 2 blocks
# https://vjeux.github.io/redstonepedia/circuits/delay/delay-rep2-n0.html
name: delay-rep2-n0
circuit: delay
tile: 0 0 1
port input: 0 1 0
port output: 1 1 0
origin: 1 0 0
palette:
  R minecraft:repeater[delay=1,facing=west,locked=false,powered=false]
  S minecraft:stone
layer 0:
  S
layer 1:
  R