r/PhoenixSC • u/StarBoySDLegit • 10d ago
Meme So Trueee
The Nerds tell me what does a comparator do? š¤
1.6k
Upvotes
r/PhoenixSC • u/StarBoySDLegit • 10d ago
The Nerds tell me what does a comparator do? š¤
240
u/Live_Sheepherder3099 Piracy button 10d ago
The comparator compares or smth like thatĀ
184
u/Pim_Wagemans Wait, That's illegal 10d ago edited 10d 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
A part of this comment was copied from a comment I made a long while ago on a different post.
15
u/zhulkgr25 10d ago
I'm an engineer, this is the other way around. And it's exactly why we fail. The tests are easy. But you try and understand a single word in class.
7
u/_bobek_2811 10d ago
in the first mode it if its getting a signal from the side which is stronger than the one from behind it stops the signal. in the second mode it subtracts the second highest signal strength from the highest signal strength and outputs it
14
u/Significant_Bit649 10d ago
"tell me what does COMPARator"
Idk man myabe it cooks some icecream
7
u/Hurakan-GM 10d ago
Comparators are actually easier to put in use than repeaters, change my mind
3
u/MrBrineplays_535 10d ago
I remember back then struggling to comprehend what the comparator even is. Tried doing a lil bit of redstone and it's actually quite simple. Well, sometimes. It's one of the redstone components that you can easily forget when you're stressed or going insane.
2
u/Most_Seaweed3811 10d ago
i've been playing this game since it came out and still don't know how to craft it not even use itš
2
u/five_grains_of_rice 10d ago
it thinky machine make number differnt go out
2
u/Acceptable_Nobody641 Legacy Console FTW 10d ago
Well the Reapeter repeats so the Comparator compares
2
u/WorryGold4674 10d ago
The only thing I know is that it can turn stuff like books in a lectern and music disks in a jukebox into redstone energy
1
u/Most_Neat7770 10d ago
But still they are quite simple, it's just slightly mathematical
1
u/Dark303_ 10d ago
This is funny to me because redstone is a form of programming and our comp sci class teaches us nil and then tests us on really complex topics. Although i feel like it should be the other way around. At first I thought it was this but as you do more redstone you realize repeaters are really weird and complex.
1
u/Full-Reception5113 10d ago
I have been playing the game for 11 years and this thread is the first time I've ever heard anyone explain what a comparator doesĀ
1
u/Minute-Reputation-52 10d ago
Comparators count
1
u/disappointedcreeper I make mods sometimes :3 10d ago
first off it gives off power based on how many items are in the container behind it, and it can also pass the redstone signal from behind it to the front of it with a 1 tick delay
in the first mode, when you place it and the torch is off, power from the sides gets added to the output, and in the second mode, when you click it and the torch is on, power from the sides gets subtracted from the output
1
u/GapWitty3587 9d ago
Comparator has a few main functionalities.
1
u/Redmix7pl 8d ago
Compactor converts block states into redstone signal or something like that