
Video: Minecraft Logic Gates 4 - NAND gate [Tutorial] by Sw1Ftx16
How to build it
- Place the Base Blocks
Place three solid building blocks in a straight horizontal row on the ground.
- Add the Redstone Torches
Place one redstone torch on top of the left block and another redstone torch on top of the right block, leaving the center block empty for now.
- Connect the Output Line
Place a piece of redstone dust on top of the middle block between the two torches, and lead another piece of dust out from the front of the middle block to serve as your output.
- Attach the Inputs
Place a lever on the back side of the left block and another lever on the back side of the right block to control the two torches.
How it works
The NAND (Not-AND) gate works by inverting the inputs using two redstone torches and merging their signals into a single redstone dust line:
- Default State (0, 0): When both input levers are off, both redstone torches on top of the outer blocks remain lit. They both power the redstone dust on the center block, keeping the output ON.
- Single Input (1, 0 or 0, 1): If you flip only one lever on, it powers its attached block and turns off the redstone torch on top of it. However, the torch on the other side remains lit and continues to power the center redstone dust, so the output stays ON.
- Both Inputs Active (1, 1): When both levers are switched on at the same time, both outer blocks become powered, which turns off both redstone torches. With no power source left to feed the center redstone dust, the output turns OFF.
Tips & variations
- Relation to an AND Gate: A standard Minecraft AND gate is actually just a NAND gate with an extra redstone torch placed on the front of the center block to invert the output. Removing that front torch leaves you with a faster, simpler NAND gate.
- Input Placement: You do not have to attach levers directly to the blocks. You can also run two separate lines of redstone dust directly into the back or outer sides of the two torch-holding blocks.
- Block Choice: Make sure to use solid, opaque building blocks (like stone, wool, or concrete) so the levers can properly power the blocks and deactivate the torches.


