REDSTONEPEDIA › Circuits › Logic gates

Logic gate

NOT · 1 block

The output is on when the input is off, and off when the input is on.

reacts in 2 ticks (0.1 s) · made of redstone torch · fits in 1×1×1

NOTLogic gate3D view loading (or not available in this browser)

Try it

Tap IN under the view to turn the input on, again to turn it off: the box marked OUT turns red while the output is on. Press play under the view to watch a demo on a loop; touch any other control to take over.

How this design does it: NOT gate, 1 block: a wall torch hanging on the input block itself.

Build it

Download .litematic Download the design as text

The .litematic opens in Litematica (Minecraft 26.3): every block of the design in one region. The text file is the same build written as plain text, block by block.

Blocks used: redstone torch

Details: how it works, measurements and properties

In depth

A logic gate: the output depends only on the input right now. NOT: the output is the opposite of the input: on while the input is off, off while it is on.

INOUT
offon
onoff

The output settles 2 ticks (0.1 s) after an input changes.

How to try it

Press play under the view to watch the demo on a loop (the badge reads demo with the step it is on; the same sequence is drawn as a timing diagram below). Touch any control to stop it and try the circuit yourself.

To try it: tap the IN button of the bar (or the cell tagged IN) to turn that input on or off (it powers the cell with a redstone block).

Inputs are tagged in lime; the output is tagged OUT: the orange glass marker next to it glows while the output is on (the output strip by the demo badge shows its last 40 game ticks, 2 seconds). Drag to look around, pinch or scroll to zoom, step one game tick at a time with the step button.

Inputs and output over time

The input follows this schedule (the 3D view's demo plays the same). Lime: an input is on; orange: the output is on (taller = a stronger signal, 1 to 15). Time runs left to right in game ticks (20 ticks = 1 s).

0 (rest)10INOUTticks05101520253035404550556065707580

Swipe the diagram sideways: the whole sequence lasts 81 ticks (4.05 s).

Step by step (3 lines)
0 (rest): output 1
-> 1: output 0 after 2 ticks (0.1 s)
-> 0: output 1 after 2 ticks (0.1 s)

Measurements

metricvaluewhat it means
functionnotthe logic function the truth table names
latency2 ticks (0.1 s)the worst time from an input change to the output's change
tileableevery 1 (0 0 1)

Notes from its designer

NOT gate, 1 block: a wall torch hanging on the input block itself. The input powers that block, the torch goes out, and the torch is the output: lit exactly when the input is off. A row of them side by side inverts a whole bus.

Properties

StudyLogic gates
KindLogic gate
Blocks placed1 (not counting the input levers or buttons the view adds)
Box1×1×1 (1 blocks of space)
Made of (the blocks that change state)redstone torch
Inputs / outputsIN (repeater) / OUT
Design filegate-not

The design file

on GitHub

Design file (12 lines)
# Logic gate: NOT · 1 block
# https://vjeux.github.io/redstonepedia/circuits/gates/gate-not.html
name: gate-not
circuit: gate not
tile: 0 0 1
port input: 0 1 0
port output: 1 1 0
origin: 1 0 0
palette:
  T minecraft:redstone_wall_torch[facing=east,lit=true]
layer 1:
  T