REDSTONEPEDIA › Circuits › Piston extenders

Sand elevator: lifts a sand block and lets it fall back (gravity piston extender)

lifts 2 up · 7 blocks

Turn the input on and a block of sand is lifted 2 blocks up; turn it off and it falls back into place.

safe to flip back any time, 1 block bigger than the main design · out in 8 ticks (0.4 s), back in 12 ticks (0.6 s) · fits in 3×5×1

no slimesafe to flip back any timehas its own lever

reach 2Sand elevator3D view loading (or not available in this browser)

Try it

Flip the lever marked IN (or tap IN under the view): the sand rises 2 blocks; flip it back and it falls into place.

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: observer piston sand sticky piston stone

Details: how it works, measurements and properties

In depth

Turning the input on pushes a block 2 cells out of the machine; turning it off brings the block back exactly where it was, with nothing left behind. A plain piston only reaches 1.

Extending takes 8 ticks (0.4 s), retracting 12 ticks (0.6 s).

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: click the lever tagged IN (or the IN button of the bar) to switch it on or off.

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). Blue: where the pushed block is, 0 = home, up to N = fully out (the dashed line); it must reach N while the input is on and come all the way back. Time runs left to right in game ticks (20 ticks = 1 s).

reflip 20reflip 16reflip 12reflip 10reflip 8reflip 6reflip 5reflip 4INPAYLOAD2N = 2ticks4012821630439248056865674483292010081096

Swipe the diagram sideways: the whole sequence lasts 1178 ticks (58.9 s).

PAYLOAD: out to N = 2 in 8 ticks (0.4 s), back in 12 ticks (0.6 s).

Step by step (4 lines)
cycle 1: extended at +8 ticks (0.4 s), restored 12 ticks (0.6 s) after the off edge
cycle 2: extended at +8 ticks (0.4 s), restored 12 ticks (0.6 s) after the off edge
cycle 3: extended at +8 ticks (0.4 s), restored 12 ticks (0.6 s) after the off edge
after flips: a full cycle works

Measurements

metricvaluewhat it means
N2the reach: how many cells the block is pushed out
extend8 ticks (0.4 s)game ticks from switching the input on until the block is fully out
retract12 ticks (0.6 s)game ticks from switching the input off until the block is back
flipssafe (the lever flipped back at any time)what happens when the lever is flipped back before the block is all the way out: safe (nothing is stranded at any time) or the earliest flip that strands blocks

Properties

StudyPiston extenders
KindPiston extender
Blocks placed7
Box3×5×1 (15 blocks of space)
Made of (the blocks that change state)observer, piston, sand, sticky piston
Inputs / outputsIN (lever) (no output: it moves blocks)
Flagsflip-safe, its own lever as the input, no slime or honey, size
Design filepext-n2-sand7-flipsafe-3x5

The design file

on GitHub

Design file (25 lines)
# Sand elevator: lifts 2 up · 7 blocks
# https://vjeux.github.io/redstonepedia/circuits/pext/pext-n2-sand7-flipsafe-3x5.html
name: pext-n2-sand7-flipsafe-3x5
circuit: piston-extender 2
travel: 0 1 0
port input: 1 3 0 lever
port payload: 0 2 0
origin: 0 0 0
palette:
  A minecraft:stone
  L minecraft:lever[face=wall,facing=west]
  O minecraft:observer[facing=up,powered=false]
  P minecraft:piston[extended=false,facing=up]
  S minecraft:sand
  o minecraft:observer[facing=west,powered=false]
  p minecraft:piston[extended=false,facing=west]
  s minecraft:sticky_piston[extended=false,facing=up]
layer 0:
  sA
layer 1:
  PO
layer 2:
  S.p
layer 3:
  .Lo