Redstonery › Circuits › NOT gate
Logic circuit
NOT gate
Invert one decision.
6 × 1 footprint1 layer6 blocksTested in 4 rotationsJava Edition 26.2
Layout
redstone dustredstone torchinputlampsolid blockarrows point where a device sends its output; north is up
How it works
A torch on a powered block goes out: the output is the opposite of the input, one redstone tick (2 game ticks) later.
- The torch responds to its supporting block: a powered support turns the torch off.
- Only one input is needed. After settling, the output always disagrees with it.
Truth table
Settled outputs after the inputs stop changing. 1 is on, 0 is off. Every row is checked in the simulator in all four rotations.
| lever | lit while the lever is off |
|---|---|
| 0 | 1 |
| 1 | 0 |
Inputs and outputs
- Inputlever (x 0, y 0, z 0)
- Outputlit while the lever is off (x 5, y 0, z 0)
Blocks you need
2 × redstone dust, 1 × lever, 1 × stone, 1 × redstone torch (on a wall), 1 × redstone lamp.
Build it in the game: 6 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:stone setblock ~3 ~0 ~0 minecraft:redstone_wall_torch[facing=east] setblock ~4 ~0 ~0 minecraft:redstone_wire setblock ~5 ~0 ~0 minecraft:redstone_lamp