Redstonery
RedstoneryCircuits › Sticky piston pusher
Pistons circuit

Sticky piston pusher

Observe the control, motion, and final block position separately.

4 × 1 footprint1 layer4 blocksTested in 4 rotationsJava Edition 26.2
Open in the simulatorBuild it in the game

Layout

Layer 0 (on the floor)
lever [face=floor, facing=north, powered=false] at x 0, z 0redstone dust at x 1, z 0sticky piston [facing=east] at x 2, z 0gold block at x 3, z 0
redstone dustinputpistonmoved or marker blockarrows point where a device sends its output; north is up

How it works

A lever pushes a block one space and pulls it back.

  1. A powered sticky piston extends and pushes a movable block.
  2. After power is removed it retracts and can pull the attached block back, subject to piston timing and push rules.

Inputs and outputs

  • Inputlever (x 0, y 0, z 0)
  • Partthe gold block, pushed to 4 (x 3, y 0, z 0)

Blocks you need

1 × lever, 1 × redstone dust, 1 × sticky piston, 1 × gold block.

Build it in the game: 4 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:lever[face=floor,facing=north,powered=false]
setblock ~1 ~0 ~0 minecraft:redstone_wire
setblock ~2 ~0 ~0 minecraft:sticky_piston[facing=east]
setblock ~3 ~0 ~0 minecraft:gold_block