search
Minecraft Wiki

Minecraft Wiki

679 pages Updated: Aug 12
Wiki BG

Redstone Comparator

Of all the redstone devices, the redstone comparator is one of the most unique. The functionality of a redstone comparator is to emit a redstone pulse at the strength you want. It can subtract redstone pulse strength and will output the strength of its input. Redstone comparators can also use storage containers of any kind to output a redstone pulse, as long as the storage container has something inside it.


Redstone Comparator in Minecraft


Redstone Comparator



Redstone Torch
Redstone TorchNether QuartzRedstone Torch
StoneStoneStone


How to make a Redstone Comparator


- Three Redstone Torches

- Three Stone

- One Nether Quartz


To make a redstone comparator you will need three redstone torches which you can make with redstone dust and sticks. Three stone pieces, so smelt some cobblestone in a furnace, and one piece of nether quartz which you will have to go into the nether for. Arrange the items in a crafting table with the three pieces of stone across the bottom, a redstone torch above both sides of the stone, a piece of quartz in the middle, and finally the last redstone torch above the quartz.


Crafting a Redstone Comparator in Minecraft


This is the recipe for a redstone comparator.


How does Redstone Comparator Work?


There are a few functions of the redstone comparator. The reason I always find myself turning to comparators is because they can identify if a storage block is full or not.


all the blocks in the 1.16 Bedrock version that a redstone comparator can receive a pulse from


Here are all the blocks in the 1.16 Bedrock version that a redstone comparator can receive a pulse from. (Pictured from left to right: Barrel, Furnace, Blast Furnace, Smoker, Brewing Stand, Hopper, Hopper in a Minecart, Dispenser, Dropper, Chest, Chest in a Minecart, Cake, Cauldron, End Portal Frame, Sandstone block with Item Frame, Shulker Box, Lectern, Respawn Anchor, Beehive, and Composter). The comparator will check the block it is connected to and emit a pulse when the storage item has filled up any inventory slots. The pulse will be stronger if the storage item has more inventory slots filled up.


Redstone Comparator Working in Minecraft


This furnace has been filled with coal and now emits power to the redstone lamp.


The item frame works a bit differently than storage containers. The comparator will check the position of the item frame and emit a pulse accordingly.


Redstone Comparator Working in Minecraft


Here the item frame is at its regular state and the door the comparator is outputting to is closed. Once you spin the item frame a few times, the door will open as the comparator’s signal strength will reach the door.


Redstone Comparator Working in Minecraft


As you can see the torch has been moved to the bottom right orientation and the door has opened. An item frame has eight different configurations, the max signal strength an item frame can output is eight.


Redstone Comparator Working in Minecraft


Comparators will emit a pulse equal to the strength of its input. The redstone lamp is placed fifteen blocks away.


Redstone Comparator Working in Minecraft


In this picture, the redstone repeater inputs into the comparator. Repeaters will always repeat the signal strength back to its full capacity which is fifteen. The redstone comparator will emit a signal strength of fifteen in this case.


Redstone Comparator Working in Minecraft


When the repeater is swapped out for a regular redstone dust, the comparator will check the strength of its input, in this case thirteen, and output thirteen, which will not reach the lamp. You can also have a comparator subtract the strength of any input to its side. When you right click on a redstone comparator the torch at its base will light up, this indicates that it is in subtraction mode.


Redstone Comparator Working in Minecraft


It will still function normally with an input and output, but if you line another pulse into its side, it will identify the strength of its side input and subtract it from its base input.


Redstone Comparator Working in Minecraft


The base input from the redstone torch and repeater to the right is fifteen. The side input has a strength of fourteen, this means that the comparator will only output a signal strength of one, which can power the redstone lamp. If you were to place the lamp an extra block away, the signal would not be strong enough to power it.


Redstone Comparator Working in Minecraft


This comes with its own unique applications. You can make a comparator clock with one comparator, three redstone dust, and an input. This comparator takes the input value of fifteen and outputs fifteen.


Redstone Comparator Working in Minecraft


Once its output travels to its side input it subtracts thirteen from the strength of the comparator. This means it will only output two which cannot reach its side input. So this is a clock that turns itself on and off with the base input.


Trivia


Cakes will emit a redstone pulse relative to how many slices have been eaten. Each slice will output two redstone strengths, you can use a comparator to only open a secret door after so many slices have been eaten.


The jukebox will emit a pulse that changes its strength depending on which music disc is playing. Music disc “13” will emit a pulse of one and “Pigstep” will emit a strength of thirteen.


Redstone Comparators were intentionally designed not to emit redstone particles when powered.


FAQ


What’s the difference between a redstone repeater and a redstone comparator?


There are many differences as they are different devices. A repeater can lock its output into place, repeat redstone strength values back up to fifteen, and prevent pulses from moving backwards. A comparator can look at the state a block is in, check storage values of storage items and emit a pulse according to the amount of slots filled, and be used to subtract values from itself.


How do you make a comparator clock?


As shown above, one comparator with an input, and three redstone dust can create a clock that will fire as long as its input remains on.


Redstone comparator clock


How do you invert a redstone signal?


The simplest way is to place a torch on a block and have an input going into that block.


inverting a redstone signal in Minecraft


You can replace the torch on the right for a lever or any other input. The torch in the middle is being powered off by the torch on the right and inverts the input. The input is currently in the “on” state, but the output is off. Thus, the signal has been inverted.

Popular In Minecraft Wiki

Comments

Latest Wiki Pages

Nether Wart in Minecraft

Nether Wart in Minecraft

Minecraft Wiki 8 hr
Nether Bricks in Minecraft

Nether Bricks in Minecraft

Minecraft Wiki 8 hr
Nether Brick Wall in Minecraft

Nether Brick Wall in Minecraft

Minecraft Wiki 8 hr
Nether Brick Stairs in Minecraft

Nether Brick Stairs in Minecraft

Minecraft Wiki 8 hr
Nether Brick Slab in Minecraft

Nether Brick Slab in Minecraft

Minecraft Wiki 8 hr
Mycelium in Minecraft

Mycelium in Minecraft

Minecraft Wiki 8 hr
Other Mobs

Other Mobs

Minecraft Wiki 14 hr
Boss Mobs

Boss Mobs

Minecraft Wiki 14 hr
Hostile Mobs

Hostile Mobs

Minecraft Wiki 14 hr
Neutral Mobs

Neutral Mobs

Minecraft Wiki 15 hr
Passive Mobs

Passive Mobs

Minecraft Wiki 15 hr
Mushroom Block in Minecraft

Mushroom Block in Minecraft

Minecraft Wiki 1 d
Mushroom in Minecraft

Mushroom in Minecraft

Minecraft Wiki 1 d
Moss Block in Minecraft

Moss Block in Minecraft

Minecraft Wiki 1 d
Melon in Minecraft

Melon in Minecraft

Minecraft Wiki 1 d
Loom in Minecraft

Loom in Minecraft

Minecraft Wiki 1 d
Lodestone in Minecraft

Lodestone in Minecraft

Minecraft Wiki 1 d
Lilac in Minecraft

Lilac in Minecraft

Minecraft Wiki 3 d
Lightning Rod in Minecraft

Lightning Rod in Minecraft

Minecraft Wiki 3 d
Lapis Lazuli in Minecraft

Lapis Lazuli in Minecraft

Minecraft Wiki 3 d