REDSTONEPEDIA › Circuits › Timers and pulse multipliers
Stay-on timer (off-delay)
stays on 990 ticks (49.5 s) after · 8 blocks
The output turns on with the input and stays on 990 ticks (49.5 s) after the input turns off, as long as the input stayed on for at least 1,280 ticks (1 min 4 s) first.
made of comparator, hopper, redstone torch · fits in 2×3×2
9 versions, 4 to 990
Every size 9
The best design for each size: pick one to see it.
| size | blocks | numbers |
|---|---|---|
| 4 ticks (0.2 s) | 21 blocks | needs an input of at least 4 ticks (0.2 s) |
| 8 ticks (0.4 s) | 17 blocks | needs an input of at least 4 ticks (0.2 s) |
| 12 ticks (0.6 s) | 17 blocks | needs an input of at least 4 ticks (0.2 s) |
| 16 ticks (0.8 s) | 14 blocks | needs an input of at least 4 ticks (0.2 s) |
| 20 ticks (1 s) | 17 blocks | needs an input of at least 4 ticks (0.2 s) |
| 24 ticks (1.2 s) | 13 blocks | needs an input of at least 4 ticks (0.2 s) |
| 28 ticks (1.4 s) | 13 blocks | needs an input of at least 4 ticks (0.2 s) |
| 108 ticks (5.4 s) | 28 blocks | needs an input of at least 3 ticks (0.15 s) |
| 990 ticks (49.5 s), needs a long input (this page) | 8 blocks | needs an input of at least 1,280 ticks (1 min 4 s) |
Try it
Tap IN under the view to turn the input on, again to turn it off: turn it on, then off: OUT stays red a while after (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: Keeps its output on for about 50 seconds (990 ticks) after the input turns off, in 8 blocks: two hoppers pass 125 cobblestone back and forth, and a comparator keeps the output on while the first hopper still holds any; it needs an input about as long as its delay to load the items back (one per 8 ticks), and no hopper top a stray item can reach.
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.
Comes loaded with 125 cobblestone in its containers: the download includes them; building it by hand, put them in first.
Blocks used: comparator glass hopper redstone torch stone
Details: how it works, measurements and properties
In depth
The output turns on with the input (4 ticks (0.2 s) later) and stays on 990 ticks (49.5 s) after the input turns off: every output pulse is the input's length plus 990 ticks (49.5 s). Input pulses closer together than that merge into one long output pulse (a light or a door that stays on a while after the last press of a pressure plate).
It reacts to input pulses of 1,280 ticks (1 min 4 s) or longer.
How to try it
Press play under the view to watch the demo on a loop: input pulses of 1 to 80 ticks (4 s) (each output pulse lasts 990 ticks (49.5 s) longer than its input), then groups of 3 short pulses with growing gaps (closer than L, they merge into one output pulse). The badge reads demo with the step it is on, and the same sequence is drawn as a timing diagram below. Touch any control to stop it and try the circuit yourself.
To try it: tap the IN button of the bar (or the cell tagged IN) to turn that input on or off (it powers the cell with a redstone block): turn the input on, then off: the output stays on 990 ticks (49.5 s) after you turn it off.
Inputs are tagged in lime; the output is tagged OUT: the redstone lamp in that cell (the view adds it to show the output) lights 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).
Swipe the diagram sideways: the whole sequence lasts 63841 ticks (53 min 12.05 s).
Step by step (26 lines)
in 2 ticks (0.1 s): in 3 ticks (0.15 s): +4 for 7 in 4 ticks (0.2 s): +4 for 7 in 5 ticks (0.25 s): +4 for 7 in 6 ticks (0.3 s): +4 for 7 in 8 ticks (0.4 s): +4 for 7 in 10 ticks (0.5 s): +4 for 15 in 15 ticks (0.75 s): +4 for 21 in 20 ticks (1 s): +4 for 34 in 30 ticks (1.5 s): +4 for 52 in 40 ticks (2 s): +4 for 70 in 60 ticks (3 s): +4 for 114 in 80 ticks (4 s): +4 for 150 in 120 ticks (6 s): +4 for 230 in 160 ticks (8 s): +4 for 310 in 240 ticks (12 s): +4 for 470 in 320 ticks (16 s): +4 for 630 in 480 ticks (24 s): +4 for 950 in 640 ticks (32 s): +4 for 1270 in 960 ticks (48 s): +4 for 1910 in 1,280 ticks (1 min 4 s): +4 for 2270 in 1,920 ticks (1 min 36 s): +4 for 2910 in 2,560 ticks (2 min 8 s): +4 for 3550 trains of 4 ticks (0.2 s) inputs: not measured (min-pulse 1,280 ticks (1 min 4 s)); trains of the longest input instead 3 inputs 253 ticks (12.65 s) apart: +4 for 9176 3 inputs 2,024 ticks (1 min 41.2 s) apart: +4 for 3550, +4588 for 3550, +9172 for 3550
Measurements
| metric | value | what it means |
|---|---|---|
| L | 990 ticks (49.5 s) | how long the output stays on after the input turns off |
| latency | 4 ticks (0.2 s) | game ticks from the input turning on to the output turning on |
| min-pulse | 1,280 ticks (1 min 4 s) | the shortest input pulse handled correctly (every longer one works too) |
Notes from its designer
Keeps its output on for about 50 seconds (990 ticks) after the input turns off, in 8 blocks: two hoppers pass 125 cobblestone back and forth, and a comparator keeps the output on while the first hopper still holds any; it needs an input about as long as its delay to load the items back (one per 8 ticks), and no hopper top a stray item can reach. .
Properties
| Study | Timers and pulse multipliers |
|---|---|
| Kind | Stay-on timer (off-delay) |
| Blocks placed | 8 (not counting the input levers or buttons and the lamp the view adds) |
| Box | 2×3×2 (12 blocks of space) |
| Made of (the blocks that change state) | comparator, hopper, redstone torch |
| Inputs / outputs | IN (repeater) / OUT |
| Flags | several versions of one mechanism |
| Design file | off-delay-item-timer-L990-sealed-v12-8b |
The design file
Design file (24 lines)
# Stay-on timer: stays on 990 ticks (49.5 s) after · 8 blocks
# https://vjeux.github.io/redstonepedia/circuits/pulsemult/off-delay-item-timer-L990-sealed-v12-8b.html
name: off-delay-item-timer-L990-sealed-v12-8b
circuit: off-delay
port input: 0 0 0
port output: 0 1 2
nbt: 1 1 0 {Items:[{Slot:0b,id:"minecraft:cobblestone",count:64},{Slot:1b,id:"minecraft:cobblestone",count:61}]}
origin: 0 0 0
palette:
C minecraft:comparator[facing=north,mode=compare,powered=false]
G minecraft:glass
H minecraft:hopper[enabled=true,facing=east]
R minecraft:redstone_wall_torch[facing=east,lit=true]
S minecraft:stone
h minecraft:hopper[enabled=true,facing=west]
layer 0:
SR
H
layer 1:
Hh
C
layer 2:
GG
.