LOGIC GATES
Every logic gate you can build with Minecraft redstone. Truth tables, step-by-step instructions, and compact variants.
NOT Gate (Inverter)
The simplest logic gate. Inverts the input signal, when input is ON, output is OFF, and vice versa. Built with a single redstone torch. The foundation for all other gates.
| IN | OUT |
|---|---|
| 0 | 1 |
| 1 | 0 |
AND Gate
Outputs ON only when ALL inputs are ON. Built by combining two NOT gates into a NOR configuration on the inverted inputs, or by using redstone torches. Essential for requiring multiple conditions to be true simultaneously.
| A | B | OUT |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
OR Gate
Outputs ON when ANY input is ON. The simplest multi-input gate, just merge two redstone dust lines into one. No torches needed for basic OR functionality.
| A | B | OUT |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
NOR Gate
Outputs ON only when ALL inputs are OFF. The inverse of an OR gate. Built by feeding an OR gate through a NOT gate. Fundamental to RS NOR latches (memory circuits).
| A | B | OUT |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 0 |
NAND Gate
Outputs ON unless ALL inputs are ON. The inverse of an AND gate. NAND is functionally complete, any logic circuit can be built using only NAND gates.
| A | B | OUT |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
XOR Gate (Exclusive OR)
Outputs ON when exactly one input is ON, but not both. Essential for toggle circuits, binary adders, and parity checks. More complex to build than basic gates.
| A | B | OUT |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
XNOR Gate (Exclusive NOR)
Outputs ON when both inputs are the same (both ON or both OFF). The inverse of XOR. Used for equality comparison, combination locks, and parity circuits.
| A | B | OUT |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |