![]() |
VOOZH | about |
Soft inversion is a mechanic of pistons and sticky pistons that creates a inverter (NOT gate). When a piston is activated even by a weak (soft) power source it turns off any redstone torch attached to its block within a single Bedrock redstone tick (the piston activates on a C-tick and the torch turns off on a P-tick). This NOT gate behavior is the foundational building block for more complex circuitry, all other compact logic circuit designs are built from this core property of soft inversion. The mechanic works even if the piston is blocked and cannot extend.
The key distinction of Soft Inversion lies in the way a piston processes weak (soft) power compared to other opaque blocks.
I
|
p
|
In Bedrock Edition, a block is considered weakly powered (soft powered) when:
For most opaque blocks (e.g., Stone, Wool):
For pistons (the soft inversion mechanism):
The primary advantage of soft inversion is its excellent tileability. Because the core mechanism often relies on vertical power transmission through blocks, multiple inverter units can be placed directly adjacent to each other (stacked vertically or side-by-side) without causing cross-talk. This allows for the construction of dense, modular logic arrays, such as for AND gate banks or memory cells, in a footprint that is impossible with traditional 1-wide, tileable torch inverters.
👁 Image
Hopper item sorter - using soft inversion
This sorter is optimized for bedrock redstone tick speeds, 1-wide, tileable, silent, overflow proof
The core sorting mechanism is controlled by a soft inverter (piston + redstone torch). When the hopper is over 41 items (represented as diamonds in the schematic) the comparator activates the piston and turning off the torch, which locks the hopper. This sorter is optimized for bedrock redstone tick speeds, making it faster than using a java design on bedrock.
The piston + redstone torch combination serves as a fast and compact NOT gate (inverter), taking power from adjacent dust and outputting an inverted signal.
A
|
B
|
A
|
B
|
A
|
B
|
A
|
B
|
A
|
B
|
The one-wide tileable AND gate is constructed using soft inversion mechanics. It requires two inputs, each connected to a solid block with an attached redstone torch. These torches serve as inverted inputs. The two inverted signals (the torches) are positioned to soft-power a single central piston. An obsidian block is placed on the piston face. The gate functions as an AND gate because the piston is only unpowered (and the output torch is thus powered) when both inputs are ON, which simultaneously turns both input torches OFF. If either input is OFF, its corresponding torch is ON, soft-powering the piston and keeping the output OFF.
A
|
B
|
The one-wide tileable NAND gate is built by taking the output of the AND gate and inverting it with a final redstone torch. The initial structure is identical to the AND gate. Two inputs feed into two inverting redstone torches, which soft-power a central piston. An obsidian block is placed on the piston face. By attaching a final redstone torch to the output side of this obsidian block, the signal is inverted. The NAND gate outputs ON whenever at least one input is OFF, and outputs OFF only when both inputs are ON. This makes it the inverse of the AND gate.
A
|
B
|
A
|
B
|
Soft Inversion allows for the creation of extremely compact, one-wide, tileable, and silent RS NOR Latches (1-bit memory cells). These latches are immune to the noise and signal strength issues of standard dropper-based latches.
Soft Inversion is the foundation for creating the fastest possible one-tick pulse limiters and one-tick clocks in Bedrock.
I
|
👁 Image
Switchable one-tick clock
A fundamental soft inverter design involves:
When the control line is OFF, the indirect power extends the piston, pushing the redstone block to power the output. When the control line is ON, the piston is directly powered and retracts. If the timing is arranged so the indirect power is removed in the same tick, the piston retracts without ever extending, leaving the output OFF.
| Pocket Edition Alpha | |||||||
|---|---|---|---|---|---|---|---|
| v0.16.0 | This mechanic was first documented in Pocket Edition.[1] | ||||||
| Tutorials | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||
| |||||||||||||||||||
| |||||||||||||||||||
| |||||||||||||||||||
| |||||||||||||||||||
| |||||||||||||||||||
| |||||||||||||||||||
| |||||||||||||||||||
| |||||||||||||||||||