Redstone explained
What quasi-connectivity is
Sometimes a piston fires when nothing seems to power it, or stays still when it looks powered. That is quasi-connectivity, a Java Edition rule that covers pistons, sticky pistons and dispensers, among others. Once you know it, it stops being a surprise and becomes a tool.
Powered from the space above
A piston, sticky piston or dispenser turns on when it is powered, like any redstone part. It also turns on when the space above it would be powered: a lever or torch next to that space, dust that runs into it, or a powered block beside it counts, even if nothing touches the piston itself.
This is why a piston can react to a lever on top of a block that sits one block higher and to the side, with no wire to the piston.
It waits for a block update
A piston powered only this way doesn’t notice at once. It checks its power when it gets a block update: when a block next to it changes, for example a block placed or broken beside it, or dust beside it turning on or off.
Until then it stays as it was. Switch on a lever that only powers the space above, and the piston stays retracted. Place a block next to it, and it extends at once. A dispenser does the same: no shot until an update reaches it, then one shot.
BUD switches
A piston left in this half-powered state is a block update detector, or BUD: it fires when it gets a block update, for example when a block next to it changes. An observer sees changes too, but only in the one block it faces.
What it means when you build
- A piston fires on its own? Look at the space above it: something next to that space is powered, and a change next to the piston set it off.
- A piston doesn’t fire? It may be powered only from above and still waiting for an update.
- Tight wiring: power next to the space above a piston or dispenser turns it on after a block update, so keep wiring that runs one block higher away from it unless you want that.
Tested machines that use this
Open one to play with it in 3D, then download it for your world.
Flying machine Place a block on top and it flies off by itself, about 2 blocks a second. Play in 3D →
Egg cannon Fires 5 eggs a second while the lever is on. Play in 3D →
2×2 piston door Opens a 2×2 doorway flush with the wall, with one lever. The wiring hides under the floor. Play in 3D →
Sugar cane farm Pistons harvest each cane that grows to 3 blocks, and hoppers carry it into a chest. Play in 3D →
TNT cannon One press of the button throws a TNT about 21 blocks in the simulator. The charges explode in water, so the cannon stays whole. Play in 3D →
3×3 piston door Opens a 3×3 doorway with one lever, fully open 1.2 s later. The bottom row drops into the floor; the rest goes up two blocks. Play in 3D →What our simulator checks
Contraptify’s simulator follows these rules, and these reference tests check them on every change. How we test.
Quasi-connectivity 4
- BUD: the piston stays retracted after the lever is switched on
- and extends as soon as it gets a block update
- dispensers are quasi-connected too: no shot without an update
- one shot after an update
Want a machine that uses this?
Ask for it in plain words. An AI designs it, and our simulator tests it before you build it.
Design a machine