Redstonery
RedstoneryCircuits › Hopper lock
Transport circuit

Hopper lock

Use a control signal to stop an item path.

2 × 1 footprint2 layers4 blocksTested in 4 rotationsJava Edition 26.2
Open in the simulatorBuild it in the game

Layout

Layer 0 (on the floor)
barrel [facing=up] at x 0, z 0stone at x 1, z 0
Layer 1 (1 up)
hopper [facing=down] at x 0, z 0lever [face=floor, facing=north, powered=true] at x 1, z 0
inputcontainerhopper, dropper or dispensersolid blockarrows point where a device sends its output; north is up

How it works

A powered hopper stops moving items. The lever beside it holds the eight stones until it is released.

  1. Powering a hopper disables its normal item transfer.
  2. Removing power lets transfers resume according to the hopper’s cooldown and available space.

Inputs and outputs

  • Inputlever locks (x 1, y 1, z 0)
  • Outputbarrel (x 0, y 0, z 0)

Blocks you need

1 × barrel, 1 × hopper, 1 × stone, 1 × lever.

Build it in the game: 5 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:barrel[facing=up]
setblock ~0 ~1 ~0 minecraft:hopper[facing=down]
item replace block ~0 ~1 ~0 container.0 with minecraft:stone 8
setblock ~1 ~0 ~0 minecraft:stone
setblock ~1 ~1 ~0 minecraft:lever[face=floor,facing=north,powered=true]