Redstone Comparator

(Redirected from Redstone comparator)
Jump to navigation Jump to search

A redstone comparator is a block that can produce a redstone signal from its front by reading chests, lecterns, beehives and similar blocks, or repeat a signal without changing its strength. It can also be set to either stop outputting a signal while its side input is receiving a stronger one (front torch off), or subtract its side input's signal strength from its main input (front torch on).

Obtaining[edit | edit source]

Breaking[edit | edit source]

A redstone comparator can be broken instantly with any tool, or by hand, and drops itself as an item.

Block Redstone Comparator
Hardness 0
Breaking time (secs)
Default 0.05
Legend
  • incorrect tool, drops nothing
  • correct tool, drops nothing or something other than the block itself
  • correct tool, drops the block itself
  • italicized can be instant mined

A redstone comparator is removed and dropped as an item if:

  • its attachment block is moved, removed, or destroyed;
  • water flows into its space;‌[Java Edition only]
  • a piston tries to push it or moves a block into its space.

If lava flows into a redstone comparator's space, the redstone comparator is destroyed without dropping as an item.

Natural generation[edit | edit source]

2-9 Redstone comparators generate in ancient cities.

Crafting[edit | edit source]

Ingredients [hide]Crafting recipe
Redstone Torch +
Nether Quartz +
Stone
Invicon Redstone Torch.png: Inventory sprite for Redstone Torch in Minecraft as shown in-game linking to Redstone Torch with description: Redstone TorchInvicon Redstone Torch.png: Inventory sprite for Redstone Torch in Minecraft as shown in-game linking to Redstone Torch with description: Redstone TorchInvicon Nether Quartz.png: Inventory sprite for Nether Quartz in Minecraft as shown in-game linking to Nether Quartz with description: Nether QuartzInvicon Redstone Torch.png: Inventory sprite for Redstone Torch in Minecraft as shown in-game linking to Redstone Torch with description: Redstone TorchInvicon Stone.png: Inventory sprite for Stone in Minecraft as shown in-game linking to Stone with description: StoneInvicon Stone.png: Inventory sprite for Stone in Minecraft as shown in-game linking to Stone with description: StoneInvicon Stone.png: Inventory sprite for Stone in Minecraft as shown in-game linking to Stone with description: Stone
Invicon Redstone Comparator.png: Inventory sprite for Redstone Comparator in Minecraft as shown in-game with description: Redstone Comparator

Usage[edit | edit source]

A redstone comparator can be placed on the top of any opaque block with a solid full-height top surface (including upside-down slabs and upside-down stairs). In Bedrock Edition, a comparator can also be placed on walls and fences. For more information about placement on transparent blocks, see Opacity/Placement.

The redstone comparator has a front and a back — the arrow on the top of the comparator points to the front. When placed, the comparator faces away from the player. The comparator has two miniature redstone torches at the back and one at the front. The back torches turn on when the comparator's output is greater than zero (the arrow on top also turns red). The front torch has two states that can be toggled by using the comparator:

  • Down and unpowered (indicating the comparator is in "comparison mode")
  • Up and powered (indicating the comparator is in "subtraction mode")

The redstone comparator can take a signal strength input from its rear as well as from both sides. Side inputs are accepted only from redstone dust, block of redstone[Java Edition only], redstone repeaters, other comparators, and observers in specific scenarios. The redstone comparator's front is its output.

It takes 1 redstone tick (2 game ticks, or 0.1 seconds barring lag) for signals to move through a redstone comparator, either from the rear or from the sides. This applies to changing signal strengths as well as simply to turning on and off.

Redstone comparators check their power state before their scheduled ticks update. This results in redstone comparators not usually responding to 1-tick fluctuations of power or signal strength — for example, a 1-clock input is treated as always off from the side, and always on from the rear. This happens because the signal changes back to its original state before the redstone comparator checks its input states. However, certain setups such as powering any input with two separate observer pulses at the same time causes a redstone comparator to respond to 2 gametick pulses.

The redstone comparator has four functions: maintain signal strength, compare signal strength, subtract signal strength, and measure certain block states (primarily the fullness of containers).

Maintain signal strength[edit | edit source]

A redstone comparator with no powered sides outputs the same signal strength as its rear input, with a 1 tick delay.

Compare signal strength[edit | edit source]

Comparators in comparison mode.

A redstone comparator in comparison mode (front torch down and unpowered) compares its rear input to its two side inputs. If either side input is greater than the rear input, the comparator output turns off. If neither side input is greater than the rear input, the comparator outputs the same signal strength as its rear input.

The formula for calculating the output signal strength is as follows:

output = rear × [leftrear AND rightrear]

Subtract signal strength[edit | edit source]

The greatest of the side inputs A and C is subtracted from the rear input B, outputting 1. If either A or C were greater than or equal to B, it would output 0.

A redstone comparator in subtraction mode (front torch up and powered) subtracts the signal strength of the higher side input from the signal strength of the rear input.

output = max(rear − max(left, right), 0)

For example: if the signal strength is 6 at the left input, 7 at the right input and 4 at the rear, the output signal has a strength of max(4 − max(6, 7), 0) = max(4−7, 0) = max(−3, 0) = 0.

If the signal strength is 9 at the rear, 2 at the right input and 5 at the left input, the output signal has a strength of max(9 − max(2, 5), 0) = max(9−5, 0) = 4.

Measure block state[edit | edit source]

A redstone comparator can measure the fullness of a chest, as well as other block states, through a comparator-conducting block.

A redstone comparator treats certain blocks behind it as power sources and outputs a signal strength proportional to the block's state. The comparator may be separated from the measured block by a comparator-conducting block. These blocks include all conductive blocks, but see below.

The comparator disregards the power level of the intervening block in this configuration.

In Java Edition, if the intervening block is powered to signal strength 15, then the comparator outputs 15 no matter the fullness of the container.[1] This never occurs in Bedrock Edition.

In Bedrock Edition the list of comparator-conducting blocks currently also includes some unexpected ones like Chain, Dirt Path, Chorus Flower - see the full list below. This may be useful in Redstone contraptions as they do not conduct Redstone signal from elsewhere like e.g. a regular conductive block would. The comparator-conducting behavior may be unintentional.[2]

Fullness of containers[edit | edit source]

Minimum items for container signal strength
Containers







Total slots 1 3 5 9 27 54 1 9
Power level Number of items Music disc No. of slots
0 0 0 0 0 0 0 No disc 0
1 1 1 1 1 1 1 13 1
2 5 14 23 42 1s+60 3s+55 cat 2
3 10 28 46 1s+19 3s+55 7s+46 blocks 3
4 14 42 1s+5 1s+60 5s+51 11s+37 chirp 4
5 19 55 1s+28 2s+37 7s+46 15s+28 far 5
6 23 1s+5 1s+51 3s+14 9s+42 19s+19 mall 6
7 28 1s+19 2s+10 3s+55 11s+37 23s+10 mellohi 7
8 32 1s+32 2s+32 4s+32 13s+32 27s stal 8
9 37 1s+46 2s+55 5s+10 15s+28 30s+55 strad 9
10 42 1s+60 3s+14 5s+51 17s+23 34s+46 ward -
11 46 2s+10 3s+37 6s+28 19s+19 38s+37 11
Creator (Music Box)
-
12 51 2s+23 3s+60 7s+5 21s+14 42s+28 wait
Creator
-
13 55 2s+37 4s+19 7s+46 23s+10 46s+19 Pigstep
Precipice
-
14 60 2s+51 4s+42 8s+23 25s+5 50s+10 otherside
Relic[JE only]
-
15 1s 3s 5s 9s 27s 54s 5
Relic[BE only]
-

A redstone comparator can output a signal indicating how full a container is. (0 for empty, 15 for full, etc.) The table on the right is described more in detail, later in this section.

Note: s means stack.

Containers that can be measured by a comparator include:

Generally speaking, the comparator output signal strength represents the average fullness of the slots, based on how many of that item form a full stack (64, 16, or 1 for non-stackable items).

The Minimum items for container signal strength table (right) shows the minimum full-stack-equivalent (FSE) to produce different signal strengths from common containers. A full-stack-equivalent quantifies how many normal 64-stackable items are needed to output a corresponding signal strength. The 's' is a constant 64, with the additional amount needed following after.

One may also consider the terms: cumulative-weight or weighted-sum instead of full-stack-equivalent.

Items that stack to a max of 16 (snowballs, signs, ender pearls, etc.), contribute +4 to the full-stack-equivalent for each unity (count of 1 item). Similarly, items that stack to 1 (minecart, boat, etc.) contribute +64, and items that stack to 64 contribute +1.

Example 1: 3 ender pearls contribute a 3×4 = 12 full-stack-equivalent.

Example 2: 16 ender pearls and 60 redstone dust contributes a 16×4 + 60×1 = 124 full-stack-equivalent.

Example 3: 1 minecart and 60 redstone dust contributes a 1×64 + 60×1 = 124 full-stack-equivalent.

Example 4: To produce a signal strength of 10 from a hopper, one requires a full-stack-equivalent of at least 3s + 14 = 206 but strictly less than 3s + 37 = 229. This can be done with 3 minecarts, and 14 dirt.

When a comparator measures a large chest or large trapped chest, it measures the entire large chest (54 slots), not just the half directly behind the comparator. A chest or trapped chest that cannot be opened (either because it has a conductive block or cat above it) always produces an output of 0 no matter how many items are in the container — shulker boxes can always be measured, even if they cannot open.

Calculating signal strength from items
When a container is empty, the output is off.
When it is not empty, the output signal strength is calculated as follows:
signal strength = floor(1 + ((sum of all slots' fullnesses) / (number of slots in container)) × 14)
fullness of a slot = number of items in slot / max stack size for this type of item
Example: 300 blocks in a dispenser (which has 9 slots), where each block stacks to a maximum of 64 has a 300 full-stack-equivalent. This produces an output with a signal strength of 8:

1 + ((300 items / 64 items per slot) / 9 slots) × 14 = 8.292, floored is 8

Calculating items from signal strength
It can be useful in redstone circuits to use containers with comparators to create signals of a specific strength. The number of items required in a container to produce a signal of desired strength is calculated as follows:
items required = max(desired signal strength, roundup((total slots in container × 64 / 14) × (desired signal strength − 1)))
Example: To use a furnace (which has 3 slots) to create a strength 9 signal, players need 110 items:

max(9, (3×64/14) × (9−1)) = 109.714, rounded up is 110

Miscellaneous[edit | edit source]

Comparators used to measure containers.

Some non-container blocks can also be measured by a redstone comparator:

Beehive and bee nest
A hive or nest outputs a signal strength equal to the amount of honey in the hive/nest.
Cake
A cake outputs a signal strength relative to the amount of cake remaining. Each slice is worth 2 signal strength, with 7 total slices, for an output of 14 for a full cake.
Cauldron signal strength
Cauldron
A cauldron outputs different signal strengths depending on how much water or powdered snow is inside. From completely empty to completely full, the output values are 0, 1, 2, and 3. If lava is inside, the strength is always 3.
Chiseled bookshelf
A chiseled bookshelf outputs a signal strength between 1 and 6 indicating the last slot interacted with. When no slot has been interacted with yet, it outputs 0.
Composter signal strength
Composter
A composter outputs different signal strengths depending on the level inside. From completely empty to completely full, the output values are 0, 1, 2, 3, 4, 5, 6, 7 and 8.
Copper bulb
A copper bulb at any oxidation stage emits a full signal of 15 when lit and 0 otherwise.
Command block
A command block stores the "success count" of the last command executed, which represents the number of times the most recently used command of this command block succeeded. A "success" is defined by the command's success conditions: if a red error message is returned in the chat, the command was not successful.
Most commands can succeed once per execution, but certain commands (such as those that accept players as arguments) can succeed multiple times, and the comparator outputs the number of times it succeeded (maximum 15 when sent to redstone dust, but in the code it is able to go up to the 32-bit integer limit, and can be used in contraptions with no redstone dust with those values).
A command block continues to store the success count of the last command executed until it executes its command again, thus the comparator continues to output the same signal strength even after the command block is no longer being activated (it doesn't turn off when the signal to the command block turns off).
Crafter
A crafter outputs a signal strength equal to the number of crafting slots that are either disabled or occupied by an item. An empty crafter with no disabled slots does not output any signal through a comparator. A crafter with at least one slot disabled or filled outputs a signal through a comparator, with strength corresponding to the number of occupied slots.
Creaking heart
An active creaking heart with a creaking linked to it outputs a signal strength dependent on the Euclidean distance between the heart and its creaking. The strength is calculated as follows:
output = 15 - floor(distance / 32 × 15)
End portal frame
An end portal frame outputs a full signal of 15 if it contains an eye of ender and 0 otherwise.
A comparator can measure the presence and rotation of an item frame's contents.
Item frame and glow item frame
A comparator can measure the state of an item frame's contents. An item frame comparator outputs 0 if the item frame is empty, or 1 to 8 for any item depending on its rotation: 1 at initial placement, plus 1 for each 45° of rotation for a maximum of 8.
For an item frame that holds a map, a unit of rotation is 90° instead of 45°, but a comparator still outputs power levels 1 to 8. It takes two full rotations to cycle through all comparator outputs, and each orientation of the map corresponds to two output levels that differ by 4.
The item frame must be attached to a full block, and the comparator must be placed behind this block, facing away from the item frame.
Jukebox
A jukebox outputs a signal strength indicating which music disc is currently playing. See the Minimum Items for Container Signal Strength table above.
Lectern
A lectern outputs a signal strength that depends on which page of the lectern's book is opened. The calculation used is:
signal strength = floor(1 + ((current page - 1) / (number of pages in book - 1)) × 14)
This results in page 1 having a signal strength of 1, and the last page having a signal strength of 15. The exception is a single page book, which outputs a signal strength of 15.
For example, a book with 15 pages outputs a signal equal to the current page number. A book with 5 pages outputs signal strengths of 1, 4, 8, 11 and 15 for the different pages. A book with 100 pages has the signal strength increase to the next level on pages 1, 9, 16, 23, 30, 37, 44, 51, 58, 65, 72, 79, 86, 93 and 100.
Respawn anchor
A respawn anchor outputs a signal strength of 0, 3, 7, 11, or 15, depending on the "charged" value.
Sculk sensor
A sculk sensor outputs a signal strength depending on the type of vibration that is detected.

Sounds[edit | edit source]

Generic[edit | edit source]

Java Edition:

[hide]BlockSprite stone.png: Sprite image for stone in Minecraft stone sound type
SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
​Block brokenBlocksOnce the block has brokenblock.stone.breaksubtitles.block.generic.break1.00.816
​Block placedBlocksWhen the block is placedblock.stone.placesubtitles.block.generic.place1.00.816
​Block breakingBlocksWhile the block is in the process of being brokenblock.stone.hitsubtitles.block.generic.hit0.250.516
​Something falls on a blockEntity-DependentFalling on the block with fall damageblock.stone.fallsubtitles.block.generic.fall0.50.7516
​FootstepsEntity-DependentWalking on the blockblock.stone.stepsubtitles.block.generic.footsteps0.151.016

Bedrock Edition:

[hide]ItemSprite redstone-comparator.png: Sprite image for redstone-comparator in Minecraft comparator sound type
SoundSourceDescriptionResource locationVolumePitch
BlocksOnce the block has brokendig.wood1.00.8-1.0
BlocksWhen the block is placeddig.wood1.00.8
BlocksWhile the block is in the process of being brokenhit.wood0.230.5

Unique[edit | edit source]

Java Edition:

[hide]Sounds
SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
​Comparator clicksBlocksWhen a comparator is set to subtraction modeblock.comparator.clicksubtitles.block.comparator.click0.30.5516
​Comparator clicksBlocksWhen a comparator is set to comparison modeblock.comparator.clicksubtitles.block.comparator.click0.30.516

Bedrock Edition:

[hide]Sounds
SoundSourceDescriptionResource locationVolumePitch
BlocksWhen a comparator is set to subtraction modeblock.click0.20.55
BlocksWhen a comparator is set to comparison modeblock.click0.20.5

Data values[edit | edit source]

ID[edit | edit source]

Java Edition:

NameIdentifierForm[hide]Translation key
BlockSprite redstone-comparator.png: Sprite image for redstone-comparator in Minecraft Redstone ComparatorcomparatorBlock & Itemblock.minecraft.comparator
Name[hide]Identifier
BlockSprite redstone-comparator.png: Sprite image for redstone-comparator in Minecraft Block entitycomparator

Bedrock Edition:

Redstone ComparatorIdentifierNumeric ID FormItem ID[i 1][hide]Translation key
BlockSprite redstone-comparator-off.png: Sprite image for redstone-comparator-off in Minecraft Unpowered blockunpowered_comparator149Block & Ungiveable Item[i 2]Identical[i 3]
BlockSprite redstone-comparator-on.png: Sprite image for redstone-comparator-on in Minecraft Powered blockpowered_comparator150Block & Ungiveable Item[i 2]Identical[i 3]
ItemSprite redstone-comparator.png: Sprite image for redstone-comparator in Minecraft Itemcomparator522Itemitem.comparator.name
  1. ID of block's direct item form, which is used in savegame files and addons.
  2. Jump up to: a b Unavailable with /give command
  3. Jump up to: a b The block's direct item form has the same ID as the block.
Name[hide]Savegame ID
BlockSprite redstone-comparator.png: Sprite image for redstone-comparator in Minecraft Block entityComparator

Block states[edit | edit source]

See also: Block states

Java Edition:

Name Default value Allowed values [hide]Description
facingnortheast
north
south
west
The direction from the output side to the input side of the comparator,
or the opposite from the direction the player faces while placing the comparator.
modecomparecompare
subtract
Specifies the current mode of the redstone comparator.
poweredfalsefalse
true
True if the redstone comparator is being powered.

Bedrock Edition:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
[hide]Description
minecraft:cardinal_directionNot Supportedsoutheast
north
south
west
UnsupportedThe direction from the output side to the input side of the comparator,
or the opposite from the direction the player faces while placing the comparator.
output_lit_bit0x8falsefalse
true
0
1
True if the redstone comparator is being powered.
output_subtract_bit0x4falsefalse
true
0
1
Specifies the current mode of the redstone comparator.


Block data[edit | edit source]

A redstone comparator has a block entity associated with it that holds additional data about the block.

Java Edition:

  • [NBT Compound / JSON Object] Block entity data

Bedrock Edition:

See Bedrock Edition level format/Block entity format.

Advancements[edit | edit source]

IconAdvancementIn-game descriptionActual requirements (if different)
The Power of BooksRead the power signal of a Chiseled Bookshelf using a ComparatorPlace a comparator on any side of a chiseled bookshelf, or the chiseled bookshelf against a comparator with the back of the comparator running into it.

Video[edit | edit source]

History[edit | edit source]

There is an associated page listing all historical changes related to the appearance and/or sounds associated with this block in further detail than below; see /Asset history.
There is an associated technical blocks page for the internal item form of this block; see Technical blocks/Redstone Comparator.
[hide]Java Edition
November 24, 2012Jeb stated that there may be a "capacitor" in Minecraft.
December 27, 2012Dinnerbone released pictures of the first version of the "comparator", stating it was a replacement for the "capacitor" idea that has variable, alternate inputs.
January 2, 2013Dinnerbone released one more picture of the comparator. The picture itself showing a digital-to-analog converter, using the comparator as the main block.
1.513w01a Added redstone comparators.
Redstone comparators have 0 delay.
13w01bA delay of 1 game tick (12 redstone tick) has now been added to redstone comparators to fix bugs.
The ability to measure containers to redstone comparators has now been added.
13w02a The appearance of redstone comparators has now been changed - the top texture has changed to show quartz in the middle and the sides now use the smooth stone texture rather than the smooth stone slab side texture.
The algorithm for measuring containers has now been changed so that redstone comparators output a signal with as few as 1 item in the container.
13w02bRedstone comparators now treat large chests as a single container.
13w03aRedstone comparators now output success count of command blocks.
Redstone comparators now measure container minecarts on detector rails.
13w04aRedstone comparators now measure jukeboxes.
13w05aRedstone comparators no longer cause constant block updates. The delay has now been made consistent, and side input no longer causes a pulse output.
13w05bRedstone comparator delay has now been changed from 1 game tick (1/2 redstone tick) to 2 game ticks (1 redstone tick).
13w09cThe redstone signal strength from a redstone comparator next to a brewing stand with 3 water bottles in it is now the same as one with 3 water bottles and 1 ingredient in it.
1.6.113w18aRedstone comparators now measure cauldrons and end portal frames.
1.814w04aRedstone comparators now measure item frames.
14w10aThe torches under redstone comparators have now been shortened, which has changed the underside appearance from to .
14w25a The torches on comparators are now subject to ambient occlusion.
Comparators set to subtract mode appear to be powered as well regardless of incoming power. The subtracting-only model still exists and can be achieved through /setblock.
14w25b The powered front torch when in subtraction mode is now lower.
Comparators set to subtract by hand now appear normally again.
14w28aRedstone comparators now measure cakes.
1.915w42aWith the addition of the blaze powder fuel slot, brewing stands now have 5 slots instead of 4. Their original comparative power values from redstone comparators are listed below:
15w47aRedstone comparators' side inputs now take power from redstone blocks.[3]
1.1116w39aRedstone comparators now measure shulker boxes.
1.1317w47aRedstone comparators now render their underside, which has changed their undersides from to .
1.1418w43a The textures of redstone comparators have now been changed.
19w02aRedstone comparators now measure lecterns.
19w03aRedstone comparators now measure composters.
19w12bRedstone comparators can now be placed on glass, ice, glowstone and sea lanterns.
1.1519w34aRedstone comparators now measure how much honey is inside beehives and bee nests.
1.1620w06aThe way to calculate the input signals of redstone comparators has now been changed.
20w11aThe changes to the way of calculating the input signals of redstone comparators from 20w06a have now been reverted.
20w16aRedstone comparators now measure Pigstep music discs in jukeboxes.
1.1720w45aRedstone comparators now measure lava cauldrons.
20w46aRedstone comparators now measure powder snow cauldrons.
1.1821w41a The texture of powered redstone comparator have now been changed.
1.1922w13aRedstone comparators now generate as part of ancient cities.
1.19.3
Experiment
Update 1.20
22w42aRedstone comparators now measure chiseled bookshelves.
1.20.223w33aRedstone comparators now use stone sounds instead of wood sounds.[4]
1.20.323w41aRedstone comparators now measure decorated pots.
1.20.3
Experiment
Update 1.21
23w42aRedstone comparators now measure crafters.
1.21.224w33aThe models for redstone comparators have changed.
1.21.2
Experiment
Winter Drop
pre1Comparators connected to creaking hearts now output a signal strength dependent on the distance to the connected creaking.
[hide]Pocket Edition Alpha
v0.14.0build 1 [verify] Added redstone comparators.
[hide]Pocket Edition
1.0.0alpha 0.17.0.1Redstone comparators now measure end portal frames.
1.0.5alpha 1.0.5.0Redstone comparators now output success count of command blocks.
1.1.0alpha 1.1.0.0Redstone comparators now measure shulker boxes.
[hide]Bedrock Edition
1.2.0beta 1.2.0.2Redstone comparators now measure jukeboxes.
Redstone comparators now render their underside, which has changed their undersides from to
1.10.0beta 1.10.0.3 The textures of redstone comparators have now been changed.
1.11.0beta 1.11.0.1Redstone comparators now measure smokers, blast furnaces, lecterns and composters.
1.18.10beta 1.18.10.20 The texture of powered redstone comparator have now been changed.
1.20.50Preview 1.20.50.20Redstone comparators now measure decorated pots.
1.20.50
Experiment
Update 1.21
Preview 1.20.50.21Redstone comparators now measure crafters.
[hide]Legacy Console Edition
Xbox 360Xbox OnePS3PS4PS VitaWii USwitch
TU19CU71.121.121.12Patch 11.0.1 [verify] Added redstone comparators.
TU31CU191.221.221.22Patch 3Redstone comparators can now measure item frames and cakes.
TU46CU361.381.381.38Patch 15Redstone comparators' side inputs now take power from redstone blocks.[is this the correct version?]
TU53CU431.491.501.49Patch 231.0.3Redstone comparators now measure shulker boxes.
TU57CU491.571.561.56Patch 271.0.7Redstone comparators can now be crafted from granite, andesite, diorite and their polished variants.
1.90 [verify] The textures of redstone comparators have now been changed.
1.91Redstone comparators now measure smokers, blast furnaces, lecterns and composters.
[hide]New Nintendo 3DS Edition
0.1.0 [verify] Added redstone comparators.

Data history[edit | edit source]

[hide]Java Edition
1.513w01aAt this point, block ID 149 was used for unpowered comparators, and block ID 150 for powered comparators.
13w05aBlock 150 (later powered_comparator) is no longer used; powered state is now represented by the 8s bit on block 149 (later unpowered_comparator).
1.1317w47aAll 3 IDs for the redstone comparator have now been merged into one ID: comparator.
Prior to The Flattening, these blocks' numeral IDs were 149 and 150, and the item's 404.
As a result, the formerly unused comparator ID is now technically used again, due to both unpowered and powered versions being merged into a single comparator block ID. This can also be analyzed as a removal of the unused ID.
[hide]Bedrock Edition
1.20.30Preview 1.20.30.20Redstone comparators now use the minecraft:cardinal_direction block state instead of direction.

Issues[edit | edit source]

Issues relating to "Comparator*" are maintained on the bug tracker. Issues should be reported and viewed there.

Java Edition

  • MC-8457 – Chest sometimes doesn't activate Redstone Comparator when Hopper is below it
  • MC-11611 – Comparators don't activate in some cases when rapidly powered and unpowered
  • MC-41006 – Comparator same distance, different results
  • MC-54711 – Quick pulses get lost in some repeater/comparator setups
  • MC-100302 – Comparators don't give output of blocked chest
  • MC-120986 – Comparators do not update correctly in some cases
  • MC-166272 – Comparator can't read inventory of campfire
  • MC-173280 – Comparator cannot detect target block signal through solid block
  • MC-207411 – Sculk sensors do not detect when rails, redstone wire, repeaters or comparators are broken due to them losing support
  • MC-279809 – Full hopper minecarts cause extracted inventories to send comparator updates
  • And 18 other open issues.

Bedrock Edition

  • MCPE-33202 – Back faces of redstone torches on redstone repeaters and comparators do not render
  • MCPE-63276 – Connecting a lectern to a comparator skips the signal strength of 14
  • MCPE-81280 – Comparator function of item frames placed on floor / ceiling is directional
  • MCPE-122611 – Comparator does not recognise Redstone Block as side input
  • MCPE-138549 – Comparators can read inventories through chains
  • MCPE-139305 – Comparators don't interact correctly with trapped chests
  • MCPE-148053 – Target block being treated as transparent by comparator
  • MCPE-156762 – Comparator outputs the power level of moved blocks (and sometimes of placed blocks) before it evaluates container fullness
  • MCPE-165629 – Redstone comparator and repeater breaking and placing sound is incorrect
  • MCPE-181799 – Comparator's subtract mode is broken when detecting a signal from lectern with a book with an odd number of total pages

Trivia[edit | edit source]

  • Comparators do not emit redstone particles when powered, unlike redstone torches and repeaters.[5]

Gallery[edit | edit source]

Screenshots[edit | edit source]

References[edit | edit source]

  1. MC-64394 — Comparators prefer containers through blocks, except when block power level is 15 — resolved as "Works As Intended".
  2. MCPE-138549 — Comparators can read inventories through chains -- unresolved as of January 2025, with votes for "WAI"
  3. MC-5951
  4. MC-182820 — Repeaters and comparators use wood sounds for placing/breaking despite being made mostly of stone — resolved as "Fixed".
  5. MC-51692 — Powered comparators do not produce redstone particles — resolved as "Works As Intended".

Navigation[edit | edit source]