Redstone is Minecraft's built-in electrical engineering system. Whether you are building an automated farm, a hidden piston door, or a complex minigame, mastering Redstone Comparators and timing delays is essential.
Redstone Comparator: Comparison vs. Subtraction Mode
The Redstone Comparator has two modes toggled by right-clicking it:
Comparison Mode (Front Light OFF)
Compares the Signal Strength of the back input (A) against the side input (B). If Signal A is greater than or equal to Signal B, Signal A passes through unchanged. If Signal B is stronger, the comparator outputs 0.
Subtraction Mode (Front Light ON)
Subtracts the side Signal B strength from the back Signal A strength (Output = A - B). This mode is used in rapid pulse clocks, item sorters, and analog memory circuits.
Building Reliable Pulse Extenders
Standard buttons only send a short signal (10 to 15 redstone ticks). To keep a piston door open longer, connect two comparators facing opposite directions in a loop with redstone dust. This creates a decaying container signal that slowly drains, keeping the output active for 3 to 10 seconds.
Calculate precise tick delays for your contraptions using our Redstone Delay Calculator!
Build a clock safely
- Decide the required period in game ticks. One redstone tick equals two game ticks.
- Build the clock with a lever or other master shutoff before connecting the output.
- Test the pulse with a lamp and count several cycles. Do not judge timing from the first pulse alone.
- Connect the machine only after the clock starts, stops and resumes predictably.
Choose the circuit by purpose
A repeater loop is easy to understand but occupies more space. A comparator clock is compact and fast, but it can produce far more updates than a slow farm needs. An observer clock reacts to block changes and is useful when the machine already contains moving blocks. A hopper clock is larger but provides long, stable delays and a visible item-based timer.
Prevent server and build problems
Do not leave an always-on rapid clock in an unloaded or partially loaded machine. Add a shutoff, keep the complete circuit within the intended chunk area and verify that pistons or dispensers can finish one action before receiving the next pulse.
