The Ultimate Guide to Crafting and Using Redstone Comparators in Minecraft

Redstone comparators are among the most versatile and powerful components in Minecraft’s redstone engineering toolkit. While many players know how to craft a basic redstone repeater or torch, the comparator often remains shrouded in mystery due to its dual-mode functionality and subtle interaction with containers and other blocks. In this comprehensive guide, we will walk you through everything you need to know about the redstone comparator, from gathering the necessary materials and crafting the device itself, to mastering its two operating modes and deploying it in sophisticated contraptions such as item filters, pulse extenders, and even simple computers. Whether you’re a redstone novice who has just built your first door or an experienced engineer looking to refine your knowledge, this tutorial will equip you with the expertise to harness the full power of the comparator. By the end of this article, you will not only know how to make a redstone comparator, but you will also understand how to use it creatively to solve complex problems in your Minecraft world.

The redstone comparator was introduced in Minecraft 1.5 (the Redstone Update) and has since become an indispensable element for any player interested in advanced automation, inventory management, and logic circuits. Unlike a repeater, which simply delays and amplifies a signal, a comparator can read the state of containers (chests, hoppers, furnaces, etc.) and output a signal strength proportional to how full that container is. It can also compare two signals, subtract one from another, and even detect if a cake has been eaten. This level of interactivity makes the comparator the key to building systems that react to their environment, such as automatic sorting machines that activate only when a chest is nearly empty, or a furnace array that turns off when all items are smelted. In the following sections, we will break down every aspect of the comparator, starting with the raw materials and ending with advanced use cases, so you can confidently incorporate it into your next redstone project.

Article illustration

Step-by-Step Guide to Crafting a Redstone Comparator

Step 1: Gather the Required Materials

Before you can craft a redstone comparator, you need to collect three specific items: three blocks of stone, one nether quartz, and three redstone torches. The stone blocks can be obtained easily by mining stone with any pickaxe (without silk touch) to get cobblestone, then smelting that cobblestone in a furnace to produce stone. Alternatively, if you have a stonecutter, you can convert cobblestone directly into stone blocks, but smelting is the most straightforward method for early game. Nether quartz is the next critical ingredient and is only found in the Nether, specifically in quartz ore blocks that generate in large veins throughout the Netherrack. You will need to venture into the Nether with at least a stone or iron pickaxe to mine quartz ore; each ore block drops one nether quartz (or more with Fortune enchantment). If you are not yet ready to enter the Nether, you can sometimes trade for nether quartz with villagers (a journeyman-level cleric offers 1 nether quartz for 1 emerald), but mining is more reliable. Finally, redstone torches are crafted from one stick and one redstone dust. You will need three sticks (each from two wooden planks) and three redstone dust (mined from redstone ore found deep underground, usually below level 16). Gather enough redstone dust to also keep some for future projects, as comparators often interact with other redstone components.

Step 2: Crafting the Redstone Comparator

Once you have the materials, open your crafting table (the 3×3 grid). Place the three stone blocks in the bottom row (cells 7, 8, 9). In the middle row, place the nether quartz in the center cell (2), and one redstone torch on each side (cells 1 and 3). In the top row, place the third redstone torch in the center cell (5). The pattern is critical: a torch above the quartz, torches left and right of the quartz, and stone across the bottom. After arranging the items correctly, the comparator will appear in the result slot. Drag it into your inventory. One comparator is crafted per combination, so craft as many as you think you’ll need—they are inexpensive once you have a steady supply of quartz. Note that comparators stack up to 64, which is very convenient for large builds.

Material Quantity How to Obtain
Stone 3 Smelt cobblestone in a furnace
Nether Quartz 1 Mine quartz ore in the Nether or trade with a cleric villager
Redstone Torch 3 Craft with 1 stick + 1 redstone dust (each)

Step 3: Placing the Comparator in the World

With the comparator in hand, right-click on a block to place it. The comparator has a front and a back. The front is the side with the single redstone torch (the output), and the back has two torches (the input side). There is also a side input on the left and right of the comparator. When you place it, the front will face toward you (the direction you are looking). You can rotate the comparator by using the “use” key while holding it, but the orientation is fixed once placed unless you break and replace it. The comparator will appear as a stone block with two torches at the back and one torch at the front, plus a little “arrow” indicator on top that shows which mode it’s in (more on that in Step 4). Proper orientation is crucial: the back (two torches) is where the main input signal comes from, and the front (one torch) is where the output signal exits. The sides are secondary inputs used in compare and subtract modes.

Step 4: Understanding the Two Modes – Compare and Subtract

Every redstone comparator has two modes, toggled by right-clicking on it after placement. The default mode is “compare” mode, indicated by the top arrow pointing straight forward (the redstone torch at the front is lit). In compare mode, the comparator checks whether the signal strength coming into the back is greater than or equal to the signal coming into either side. If the back signal is stronger or equal, the comparator outputs the back signal strength; if the side signal is stronger, the output is zero. The side inputs can also come from a block with a redstone signal (like a powered block or a repeater) or from another comparator. The second mode is “subtract” mode, activated by right-clicking. In subtract mode, the top arrow shows a small “minus” sign or the torch at the front appears dimmed. In this mode, the comparator outputs the difference between the back signal and the side signal (back minus side). If the side signal is greater than or equal to the back signal, the output is zero. This mode is extremely useful for creating precise timings, signal limiting, and subtracting one value from another. The comparator will remember its mode even after being broken and replaced if you use a pickaxe (it drops as an item that stores the mode data), but if you just break it with your hand, it drops a regular comparator in compare mode.

Step 5: Connecting Redstone Wire and Other Components

To actually use the comparator, you need to feed redstone power into its back and (optionally) its sides. The back input can come from a container block (chest, trapped chest, hopper, furnace, smoker, blast furnace, brewing stand, dispenser, dropper, shulker box, etc.) or from a redstone signal through a block. When a comparator is placed directly adjacent to a container, it reads the “fullness” of that container and outputs a signal strength from 0 (empty) to 15 (full). The exact calculation depends on the number of slots and the stack size limits—for a double chest (54 slots) with stackable items up to 64, a linear mapping means each incremental signal strength corresponds to about 3.6% fullness. For containers with fewer slots, the same total amount of items gives a higher signal. Place the comparator with its back touching the container block. Then run redstone dust from the front of the comparator to wherever you want the signal to go, such as a redstone lamp, a piston, or another comparator’s side input. You can also place a solid block next to the front of the comparator (one that can be powered) and then run dust from that block to extend the signal range. Remember that redstone wire loses strength over distance, but the comparator’s output is always a full 15-strength signal relative to its own output strength (i.e., it doesn’t degrade like dust).

Best Practices and Tips for Using Redstone Comparators

Tip 1: Use Comparators for Item Sorting with Hoppers

One of the most common applications of comparators is in automatic item sorting systems. By placing a comparator reading a hopper that contains a filter item (e.g., one piece of cobblestone), you can detect when that hopper has a certain number of items and activate a redstone signal to redirect items into a dedicated storage chest. The key is understanding that a comparator reads the “number of items” in a container, but only up to a maximum signal of 15. For a single hopper (5 slots) with a stackable item, each item contributes a bit to the strength. A common technique is to use 1 comparator in subtract mode to ensure that only items that match the filter are allowed through, while excess items are passed to the next sorter. For a detailed build, place a chest, then a hopper facing into it, then a comparator reading the hopper, then a solid block with a redstone torch on the side to lock the hopper when the comparator’s output is high. This creates a system that keeps exactly one stack of the filter item in the hopper and sends everything else down the line.

Tip 2: Create Pulse Extenders and Timers

Comparators can also generate long pulses or act as timers when combined with an item in a container that changes over time, such as a furnace with fuel. For example, you can place a comparator next to a furnace that is smelting items; as the fuel burns, the fullness of the “fuel” slot changes, and the comparator’s output gradually decreases. By using a comparator in subtract mode with a side input set to a specific strength (using a lever and a redstone wire), you can create a circuit that activates only when the fuel drops below a certain threshold, thus automatically refueling the furnace. Another classic build is the “etho hopper clock,” which uses two hoppers pointing into each other with a comparator reading one of them; the comparator outputs a pulse each time an item moves. That pulse can be used to trigger other redstone components at a very consistent rate, adjustable by changing the number of items in the loop.

Tip 3: Master the Art of Signal Strength Manipulation

Understanding the signal strength values of different containers is vital for advanced contraptions. For instance, a single chest (27 slots) with 24 stacks of items (1536 items) will give a signal strength of 15. A full hopper (5 stacks of 64 = 320 items) gives signal 15 as well. This means you cannot simply rely on the absolute fullness; you must consider the container’s total capacity. To get predictable results, it’s often better to use a dropper or dispenser with a known number of items, or a hopper with exactly one stack of a non-stackable item (like a sword) to get a high signal with few items. You can also use “subtract” mode to calibrate: supply a constant signal to the side via a lever and some redstone dust, then adjust the lever position (or use a more precise method like a redstone comparator chain) to set a threshold.

Container Type Total Slots Max Signal Strength (Full) Items Needed for Signal 1
Single Chest 27 15 ~102 items (if all stackable 64)
Double Chest 54 15 ~204 items
Hopper 5 15 ~21 items (if all stackable 64)
Furnace (fuel + smelting + result) 3 15 ~11 items (but depends on slot)
Dispenser/Dropper 9 15 ~34 items
Brewing Stand 4 15 ~15 items

Frequently Asked Questions About Redstone Comparators

Q1: How do I make a redstone comparator in Minecraft?

A: As covered in the step-by-step guide, you need to arrange three stone blocks in the bottom row of a crafting table, one nether quartz in the center of the middle row, and three redstone torches: one in the top center, one left of the quartz, and one right of the quartz. This yields one comparator. Ensure you have a crafting table and the correct materials before attempting.

Q2: What does a redstone comparator do?

A: A comparator has two primary functions. In compare mode, it outputs the signal strength from its back if that signal is greater than or equal to any signal from its sides; otherwise it outputs zero. In subtract mode, it outputs the back signal minus the side signal (down to zero). Additionally, when placed next to a container (chest, hopper, furnace, etc.), it reads how full that container is and outputs a corresponding redstone signal strength from 0 to 15.

Q3: How do I toggle between compare and subtract mode?

A: Simply right-click on the comparator after it is placed. The arrow on top of the comparator will change: a straight line indicates compare mode, and a line with a minus sign (or a dimmed front torch) indicates subtract mode. You can toggle it as many times as you like without affecting the surrounding redstone.

Q4: Can a comparator detect a specific number of items?

A: Yes, but only indirectly through signal strength. For example, if you want to detect when a chest has exactly 10 items, you would need to use a combination of comparators or other logic to isolate that strength. One common method is to use a comparator in subtract mode with a constant side signal of, say, 10, and then compare the output to zero. However, because signal strength is not granular enough to detect exact item counts in large containers, you often need to use a hopper or dropper with a known number of slots to get precise readings.

Q5: Why isn’t my comparator outputting anything when placed next to a chest?

A: There are a few common reasons. First, ensure the comparator’s back (the side with two torches) is directly touching the chest—the chest must be placed against the comparator, not diagonal or one block away. Second, check that the chest is not empty; a completely empty chest gives a signal of 0, which is effectively off. Third, if your comparator is in subtract mode and you have a side input, the output might be zero because the side signal is greater than the back signal. Place the comparator in compare mode first to verify the chest’s fullness. Finally, be aware that trapped chests behave identically to normal chests for comparator reading, but they also emit a separate redstone signal when opened.

Q6: Can comparators read through blocks?

A: No, a comparator must be directly adjacent to the container block. It cannot read through an opaque block. However, if you place a comparator facing a solid block that has a container behind it (one block gap), the comparator will read the signal through that block only if the block is “powered” by redstone (i.e., it’s a conductive block like stone with a redstone signal). But in general, for reading container fullness, the comparator must touch the container directly.

Q7: How do I use a comparator for a cake? I heard it can detect slices.

A: Yes, a comparator can read the remaining slices of a cake. When placed next to a cake (back touching the cake), the comparator outputs a signal strength that corresponds to the number of slices left: a full cake (6 slices) gives signal 14, and each eaten slice reduces the signal by 2 (so 5 slices = 12, 4 slices = 10, etc., down to 0 slices = 0). This is useful for creating mini-games or automated cake-refilling systems. Note that cake must be placed on a block and the comparator must be at the same height adjacent to the cake block.

Conclusion

The redstone comparator is a deceptively simple block that opens up a world of possibilities for any Minecraft redstone enthusiast. From its humble crafting recipe requiring stone, nether quartz, and redstone torches, to its two powerful modes—compare and subtract—the comparator allows you to build systems that react to the contents of containers, create precise timers, and even perform basic arithmetic with redstone signals. By following the steps in this guide, you now have the knowledge to craft your own comparators and integrate them into your builds. Remember that practice is key: start with a simple item sorter, then experiment with a pulse extender, and eventually try your hand at a multi-item sorting system or a sequential activation circuit. The comparator’s ability to read “fullness” makes it uniquely suited for inventory management, while its logic capabilities let you create conditions that depend on multiple inputs. As you become more comfortable, you’ll find that many complex redstone machines rely on comparators at their core. Don’t be afraid to break things, experiment, and consult online schematics for inspiration. With this guide in hand, you are well on your way to becoming a master of redstone comparators in Minecraft. Now go forth, craft, and automate!

sarah antaboga
Author: sarah antaboga

Leave a Reply

Your email address will not be published. Required fields are marked *