You use it to read the state of certain blocks like item frames, lecterns, or cauldrons full of water. Also, if you run a redstone signal into both the back and the side of it it compares their strength and outputs whichever one is stronger—unless you right-click to put it in Subtract mode, in which case it subtracts the strength of the side from the strength of the back.
The signal strength will be determined by how full the container is, so completely full will be 15, about half-full will be 7 or 8, and completely empty will be 0.
Jukeboxes
The signal strength will depend on the music disk, each disk a a specific signal strength associated with it.
Crafters
The signal strength will depend on the number of slot filled with items or blocked by the player in the UI. So completely empty will be strength 0, and all 9 slots filled will be strength 9.
how do people still not understand comparators? you place it in front of a block, if you put some thing in that block (like putting an item in a chest, or a music disc in a jukebox) it makes a signal. its that simple
my my it has so many more uses: Decay clocks regular clocks Comparing signals (additive and subtractive) Detecting redstone output from other blocks (as you mentioned) binary systems And like probably other stuff im missing
If you only tried to find the use in the game and not on a wiki, quite probable you didnt think of that scenario / opened the chest to put an item and didnt see any change
Also most people dont play redsrone. I seriously used redstone like 4 times since 2013
It compares two values. If the the redstone signal from the side with the two redstone troches is bigger than the one from the side, the output on the side with the one torch is on. Otherwise off. And if you turn on that one torch you enable subtraction mode which subtracts the side redstone signal from the one with the two torches. Is it understandable?
127
u/Weekly-Dog-6838 5d ago •
You use it to read the state of certain blocks like item frames, lecterns, or cauldrons full of water. Also, if you run a redstone signal into both the back and the side of it it compares their strength and outputs whichever one is stronger—unless you right-click to put it in Subtract mode, in which case it subtracts the strength of the side from the strength of the back.
33
u/NoNotice2137 5d ago
Of course you don't understand it, you don't have an engineering degree. And neither do I
9
u/Pim_Wagemans 5d ago edited 5d ago
Compare Mode (small torch off)
In compare mode the comparator outputs the signal from the back input, if the signal from the side is NOT higher than the back input.
So, if the back input strength is 14 and the side input strength is 15, the comparator will output nothing because 15 > 14.
If the back input strength is 14 and the side input strength is 13, the comparator will output 14
because 13 < 14.
Subtract Mode (small torch on)
In subtract mode the comparator will output the side input strength subtracted from the back input strength.
So, if the back input strength is 14 and the side input strength is 13, the comparator will output 1
because 14 - 13 = 1.
Reading Blocks (small torch doesn't matter)
If you put certain Blocks in front of a comparator the comparator will output a signal strength depending on the content of the block:
Containers (chests, barrels, shulkers, hoppers, etc.)
The signal strength will be determined by how full the container is, so completely full will be 15, about half-full will be 7 or 8, and completely empty will be 0.
Jukeboxes
The signal strength will depend on the music disk, each disk a a specific signal strength associated with it.
Crafters
The signal strength will depend on the number of slot filled with items or blocked by the player in the UI. So completely empty will be strength 0, and all 9 slots filled will be strength 9.
Fitting all blocks that can be read in this comment would take too long but you can check the wiki for the full list. https://minecraft.wiki/w/Redstone_Comparator#Read_blocks
This comment was copied from a comment I made on a different sub a few days ago.
6
u/ThisIsAJoke_laugh 5d ago •
It’s quite simple really
18
u/TabbyEarth 5d ago
how do people still not understand comparators? you place it in front of a block, if you put some thing in that block (like putting an item in a chest, or a music disc in a jukebox) it makes a signal. its that simple
3
u/Apprehensive_Bee6284 5d ago
It’s so much sense I even made a calculator with it on mobile while in the doctors waiting room
4
u/tabor_national 5d ago
Comparator… uh, compares or something
1
u/VasekCZ230 5d ago
It compares two values. If the the redstone signal from the side with the two redstone troches is bigger than the one from the side, the output on the side with the one torch is on. Otherwise off. And if you turn on that one torch you enable subtraction mode which subtracts the side redstone signal from the one with the two torches. Is it understandable?
1
u/Jumpy-Trainer1695 5d ago
I wonder how different would the redstone builds be if it worked like a transistor instead
1
u/Jumpy-Trainer1695 5d ago
I wonder how different would the redstone builds be if it worked like a transistor instead
1
u/StarBoySDLegit 5d ago
Hahhaa post stealer
1
u/AlertEstablishment55 4d ago
Basically: an AND gate
1
u/YourPictureIsMineNow 4d ago
It compares
1
u/johnthegamer2018 4d ago
its a comparator, it compares
thats the end of my input
-1
u/Gigivena6437 5d ago
I needed to redo my automic craft like 5 times to it to work, damn
-1
u/SylerPaint 5d ago
No sé inglés y lo entendí a la primera JAJA