
Video: Compact 1 Block Tall Comparator NOR Gate (Minecraft Redstone Tutorial) by Drackiseries - Minecraft YouTuber
How to build it
- Place the Constant Power Source
Place a single redstone torch on the ground. This provides a constant signal strength of 15 to the back of the gate.
- Add the Comparator in Subtract Mode
Place a redstone comparator directly in front of the redstone torch, facing away from it. Right-click (or use) the comparator once so its front torch lights up, putting it into subtract mode.
- Set Up the Output
Place a redstone lamp (or your output redstone line) directly in front of the comparator. It should light up immediately.
- Place the Side Repeaters
Place one redstone repeater on the left side of the comparator and another on the right side, both pointing directly into the comparator's sides.
- Connect the Inputs
Place redstone dust behind each of the two repeaters and attach levers (or your input lines) to power the dust.
How it works
This circuit relies on the mathematical formula of a Redstone Comparator in subtract mode:
Output = max(Rear - max(Left, Right), 0)
Here is what happens signal by signal:
- Rear Input: The redstone torch behind the comparator constantly supplies a maximum signal strength of 15.
- Both Inputs OFF: Neither side repeater is powered, so the left and right inputs are both 0. The comparator calculates
15 - 0 = 15, sending a full-strength signal of 15 to the output lamp. - One or Both Inputs ON: Flipping either lever powers its repeater, which boosts the side input to a full signal strength of 15. The comparator takes the highest side input (15) and subtracts it from the rear input:
15 - 15 = 0. The output drops to 0 and turns off.
Tips & variations
- Why use Repeaters? The repeaters pointing into the sides of the comparator ensure that even a weak input signal (strength 1) is boosted to 15, completely canceling out the rear torch's strength of 15.
- Don't forget Subtract Mode: If the gate never turns off when you flip a lever, check the comparator—its front pin must be glowing (subtract mode).
- Classic Alternative: A traditional NOR gate is simply a solid block with redstone dust running into it and a redstone torch on the side. Use the traditional version if you want the smallest footprint; use this comparator version if you want a flat 1-block tall layout or want to practice comparator logic.
- Edition Support: Built in Java Edition 1.18.2, but comparator subtraction works identically in Bedrock Edition.

