Skip to content
WikilyWIKILY
All games23 Wikis · pick your game
Guides and chartsAll charts

Switch game

23 Wikis · pick your game
Comparator Outputs

Chart

Comparator Outputs

What signal a Comparator reads from containers and from every other block that gives a reading, with the number of items needed for each signal strength.

How it works

Container fullnessEach slot counts as its number of items divided by that item's stack size, so a full slot is 1 and an empty slot is 0. Fullness is the average of all slots.
FormulaThe signal is 1 plus 14 times the fullness, rounded down, when the container holds anything, and 0 when it is empty. One item gives 1; only a completely full container gives 15.
Smaller stacksAn item that stacks to 16 counts 4 times as much as one that stacks to 64. One item that does not stack fills its whole slot.
Brewing StandIt has 5 slots. A potion does not stack, so each potion fills its slot and counts like 64 items in the table.
Double ChestBoth halves are read together as 54 slots, from either half.
Reading through a blockA Comparator reads the block right behind it. If that block gives no reading and is solid, it reads the block behind that one, or an Item Frame on that block facing the same way, whichever is higher.
Music DiscsA Jukebox gives the reading of the disc inside it, playing or not. While a disc plays, the Jukebox also sends a normal signal of 15.

Items needed per signal (items that stack to 64)

1111111
25142342124247
310284683247494
4144269124371741
5195592165494988
623691152066181235
728831382477411482
832961602888641728
9371101833309881975
104212420637111112222
114613822941212352469
125115125245313582716
135516527549414822963
146017929853516053210
156419232057617283456

Other blocks with a reading

Cake14 when whole, 2 less per slice eaten: 14, 12, 10, 8, 6, 4, 2
Candle Cake14
Cauldron (empty)0
Water Cauldron, Powder Snow Cauldron1, 2 or 3 by fill level
Lava Cauldron3
Composter0 to 7 by fill level; 8 when Bone Meal is ready
End Portal Frame15 with an Eye of Ender, 0 without
Item Frame, Glow Item Frame0 when empty; 1 as placed, 1 more for each turn of the item, back to 1 after 8 turns
JukeboxDepends on the disc (see the Music Disc table); 0 when empty
Lectern0 without a book; 1 on the first page, rising evenly to 15 on the last page (rounded down). A one-page book gives 15
Respawn Anchor0, 3, 7, 11, 15 for 0 to 4 charges
Beehive, Bee NestHoney level, 0 to 5
Sculk Sensor, Calibrated Sculk SensorFrequency of the last vibration (1 to 15) while active, 0 otherwise
Chiseled BookshelfNumber of the slot last used: top row 1, 2, 3 and bottom row 4, 5, 6, left to right seen from the front; 0 before any use
Shelf (every wood type)Seen from the front: left slot 1, middle slot 2, right slot 4, added up for the slots holding items (0 to 7). Read from the back only
CrafterNumber of slots that hold an item or are disabled, 0 to 9
Copper Bulb (every oxidation stage, waxed or not)15 when lit, 0 when off
Copper Golem Statue1 standing, 2 sitting, 3 running, 4 star pose
Creaking Heart15 on top of its Creaking, falling by about 1 for every 2 blocks of distance down to 0 at 32 blocks; 0 with no Creaking or when uprooted
Command Block (all three kinds)Success count of its last command
Detector RailWhile a minecart is on it: the fullness of a minecart with a container, or the success count of a Minecart with Command Block; otherwise 0
Chest, Trapped Chest, Copper Chest, Barrel, Shulker Box, Hopper, Dispenser, Dropper, Furnace, Smoker, Blast Furnace, Brewing Stand, Decorated PotContainer fullness formula

Music Disc readings

1C418 - 13
2C418 - cat
3C418 - blocks
4C418 - chirp
5C418 - far
6C418 - mall
7C418 - mellohi
8C418 - stal, fingerspit - Bounce
9C418 - strad, Hyper Potions - Lava Chicken
10Amos Roddy - Tears, C418 - ward
11C418 - 11, Lena Raine - Creator (Music Box)
12C418 - wait, Lena Raine - Creator
13Aaron Cherof - Precipice, Lena Raine - Pigstep
14Aaron Cherof - Relic, Lena Raine - otherside
15Samuel Åberg - 5
Join the creator communityThe people who build the Minecraft Java Edition wiki are on our Discord. Ask questions or suggest pages.Join Discord (opens Discord in a new tab)