Comparator has been in the game for absolutely ages now and i have to say it is one of those redstone components that is a tiny bit more on the confusing side it’s not quite as straightforward as say something like redstone dust or redstone torch there’s a few fiddly bits and Pieces there’s different modes and different things that you can do with it and that means that quite a few people are still fairly confused by this thing i get tons of comments down in my comment section asking me what on earth is this thing what nerf does it do how On earth do i use this thing effectively so i’m going to do is a full video dedicated to explaining everything you need to know about the comparator so that you can make use of it in your own redstone circuits hopefully by the end of this video you will be a comparator Pro or at least fingers crossed so let’s get things started with the very basics this is the comparator this is what it looks like as you can see we’ve got these two prongs standing up like this then we’ve got an arrow facing in this direction and then we’ve got this little Nib at the end right here which is actually a toggleable thing and i’ll talk about that a little bit later on now this right here is the output and this right here is the main input and as you can see if we flick this lever we got ourselves a continual pulse just Going right the way through but it also has two secondary inputs it’s got one input on this side and one input on this side now the sole purpose of the comparator is to compare these inputs right here so what we’ll do is it will compare this input to these inputs and give an Output depending on certain conditions and i’ll talk about those a little bit later on in the video another really cool thing that comparators can do is they can take redstone signal strength from containers so right now we’ve got ourselves a chest that there are absolutely no items on the inside of This chest which means that the comparator is not giving off any redstone signal strength however if we say for example place one item on the inside of the chest there the comparator has detected it and now we have a signal strength of one now if you place maybe Two stacks on the inside of the comparator you can see we’ve got ourselves a signal strength of two so basically the more items you have on the inside of the container the stronger the redstone signal strength being outputted through the comparator will be so if we Add a few more stacks here you can see we get a few more bits of redstone and if we just fill this thing in you can see we get a very strong redstone signal strength as i mentioned earlier on in the video the comparator has got this Little nib up at the front here which we can toggle on and off now this toggles between normal mode and subtract mode so first things first let’s take a look at normal mode i’m going to run a signal strength into the back of this comparator just like this and as you can See we got ourselves a redstone output but then i’m going to run some redstone into the side of this one and i’m going to flick this on and then flick this one on and as you can see we don’t get any redstone output now that is because the Signal strength running into the side of the comparator is actually stronger than the signal strength running into the back there are two blocks between the lever and the comparator and on this side there is only one block between the lever and the comparator which means that this redstone signal strength is Stronger which means it’s actually cutting off the redstone running into the back which means that we don’t get an output through the comparator however if the signal strengths are equal then we will get ourselves a redstone output and if the signal strength running into the side of our comparator over on this Side is less than the signal strength running in the back of it then we will still get an output now i understand that that may have seemed just a tiny bit confusing but essentially the comparator is comparing this redstone signal strength to this redstone signal strength and if this redstone signal Strength is stronger than that redstone single strength then it doesn’t give an output however if this redstone signal strength is weaker than that redstone signal strength then the comparator will get an output now there are a lot of words in this you might have to rewind And watch back through until you get it straight in your head and of course i would suggest experimenting with this but now let’s move on to the subtract mode now i would say i’ve probably got a little bit of explaining to do right here because we’ve got redstone all over The place we’ve got signs pretty much everywhere and a whole ton of levers so first things first we’re going to take a look at the output line as you can see we’ve got a line running out of the comparator and next to it we’ve got a bunch of signs counting up now this Actually corresponds to the signal strength being outputted by the comparator so say for example our comparator was giving off a signal strength of say eight the redstone would go one two three four five six seven eight and that’s where it would stop and that is next to the eighth side so That’s pretty self-explanatory now the inputs they’re a tiny bit more confusing because the signs next to the levers correspond to the signal strength you’re actually going to be giving to the comparator so say we flick this lever right here that means that we start to 15 this Right here has got a signal strength of 15 and then it would go 14 13 12 11 10 9 8 8 would be going into the comparator and because comparators always output the same signal strength that has gone into the back of them we would also get A signal strength of 8 running out the back of it so that sort of makes sense now the one off to the side works in a pretty similar fashion so say for example you wanted to give a signal strength of eight into the side of the comparator we would flick this lever Right here then once again it would be 15 14 13 12 11 10 9 8 running into the side of that thing which means that we can do the subtract mode now so let’s just do one or two more examples just to make sure that it’s all straight in your Head so we’re running a signal strength of 12 into the back of the comparator and then we’re going to run a signal strength of seven into the side of the comparator and once again we should get an output of five that’s all good but if We change out that seven for say a ten then we should get a signal strength of two because twelve minus ten is two so subtract mode subtracts this side from that side so you run the inputs into that one and then the comparator will subtract the inputs coming into the Side and it will give a signal strength that corresponds to that calculation i hope all of that makes sense i understand that it’s a tiny bit more wordy than you would normally expect and these things are a little bit difficult to understand but once again i would highly suggest playing this with Yourselves so let’s just quickly do another few demonstrations so say for example we run in a signal strength of 13 into the back of the comparator and then we run in a signal strength of 8 into the side of it we should get an output of 5 once again but if we change Out that 8 for say a 10 then we should get a signal strength of 3 being outputted because 13 minus 10 equals three so basically what the comparator is doing is it is subtracting the input value from the input value on that side right here hopefully that all makes sense this Is really really wordy and it’s quite difficult to understand so what i’m going to do is i’m going to put a world download down in the description you guys can play with this one for yourselves and once again i would highly suggest experimenting with all of this Stuff throughout the video but as i mentioned earlier on in the video the comparator doesn’t just compare and subtract things it can also draw signal strength from different items and containers so behind me we have got every single item that the comparator can draw a signal strength from first Off we’ve got the furnace then we’ve got the brewing stand the hopper the hopper mine carts on top of a detector rail then we’ve got a dispenser dropper a chest a trap chest the chest minecarts on top of the detector once again then we have the strange ones which are the Cake the cauldron which is definitely one of the most useful things because cauldrons are movable objects so that’s basically a movable power block then we’ve got the command block the end portal frame we’ve got the item frame the jukebox and as of minecraft 1.11 we also have the shulker box before we get On with the redstone circuits i’ve got three pieces of comparator related trivial information that you guys might find useful so number one is that comparators have a tick speed of two game ticks or one redstone tick so if you flick this lever right here you can See they have exactly the same delay as a redstone repeater number two is that they can draw redstone outputs through blocks so right here we’ve got ourselves a chest with one item on the inside and that comparator is being powered by that chest and it’s giving off a signal Strength of one now the way that actually works out the signal strength is by using a mathematical equation it’s a tiny bit complicated so i’ll put it down in the description but essentially it does the sum of all slots fullness divided by the number of slots in the Container and then it times that number by 14 and then you add one and then you truncate the answer now the way that you work out the fullness of a slot is by doing the number of items in a slot divided by the max sac size for this Type of item thank you ever so much to wikipedia for that one because that’s a really cool fact now it this time to take a look at some simple circuits that make use of the comparators functionality i’m going to try my best to explain to you how all of them work So number one is this redstone clock right here now this may look really very strange we just have redstone running back around it into the side of the comparator but this actually works thanks to the subtract mode which i explained earlier on so right now we are Running a signal strength of 15 into the back of the comparator that signal strength is then being outputted through into here so we have 15 14 13 which means that the 13 is then being subtracted from the 15 giving a signal strength of 2 which means it goes 1 2 Which turns off all of the redstone but that means that there’s nothing subtracting from the 15 going in which means we get 15 as the output again which means that then one tick later it subtracts the 13 which means we get two and so on and so forth which means we Get this flashing redstone clock which i use in a turn of my redstone builds now whatever you’re thinking this looks like another redstone clock but actually this is a fully functional pulse extender we hit the button the button is now turned off but the redstone is still being Powered thanks the way the comparators work as i mentioned earlier on comparators will always give an output that is identical in redstone signal strength to the input so say for example we run in a signal strength of eight into the back of this comparator right here it will give out a signal strength Of eight now what this means is when we hit this button everything powers and then gradually the redstone powers down because it starts off at 15 so we get a signal strength of 15 going in here then we give an output of 15 then this one Will be 14 so then this gives an output of 14 which means we get an output of 14 here and then it goes 13 13 13 12 12 12 11 11 11 10 10 10 9 9 9 so on and so forth until we reach zero and that’s When the pulse actually shuts off and finally onto one of my favorite redstone circuits this is the automated dropper circuit when we place in a bunch of items here you can see the redstone clock will kick into action and all of the items will be fired out until there Are no items on the inside of the dropper and then it will stop kicking out the items which means that it saves on a little bit of lag and also that annoying ticking noise that happens on an empty dispenser that’s always awful now the way that this one works is we’ve Got a comparator taking output from our dropper right here and obviously i was mentioning that earlier on in the video that redstone output then goes into this redstone dot which powers this block right here which powers this repeater which runs a redstone input into the side of the comparator now the redstone Output from this repeater is stronger than the output coming from the dropper which means that it shuts off this comparator which shuts off everything which means that then of course the redstone signal strength from the dropper is stronger than that of the redstone here because there’s no input Running into the side of this comparator which means that all of the redstone kicks back into action and we got ourselves a working redstone clock then this redstone up at the top here just powers this block which bud powers this dropper which means that this dropper starts chucking out his items and of Course when all of the items are gone there is no output going through this comparator which means the redstone clock turns off that was a very wordy explanation but i hope you just about got there so we go guys i hope you’ve enjoyed this very in-depth video on the Comparator that you can see just behind my left shoulder right there i personally really enjoyed creating this one even if it was a tiny bit technical and perhaps a tiny bit wordy at times hopefully you managed to get there in the end and hopefully you now understand Everything there is to know about the comparator now if you did enjoy this video please hit that like button and if you really loved it then make sure to subscribe but thanks for watching guys this has been mumbo and i’m out i’ll see you later You Video Information
This video, titled ‘How to Use the Redstone Comparator in Minecraft!’, was uploaded by Mumbo Jumbo on 2016-12-13 19:00:02. It has garnered 3767755 views and 109521 likes. The duration of the video is 00:12:10 or 730 seconds.
Leave a LIKE if you found this useful! Today we take a look at how to use the redstone comparator in Minecraft, running you through the very basics, through to some circuits that make use of it’s functionallity!
MY LATEST VLOG: https://www.youtube.com/watch?v=MJZA2NfIczU
World: http://www.mediafire.com/file/qm95038vu4o913z/Comparators.zip
EQUATION:
signal strength = truncate(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)
The Mumbo Merch Store! It’s beautiful! http://capncook.com/collections/mumbo-jumbo
Become a Patron for a spot on the Patreon Server! https://www.patreon.com/ThatMumboJumbo
My INSANE PC was kindly provided by Chillblast, a company specialising in Performance systems. We have a full range available with 3 systems of varying price and power! Check them out here: https://www.chillblast.com/mumbo-jumbo-official-computers.html
My server is kindly provide by CubedHost free of charge! Click this link to get a 25% discount off one of their servers! http://cubedhost.com/thatmumbojumbo
2ND CHANNEL: https://www.youtube.com/thatmumbojumbo2 TWITTER: https://twitter.com/ThatMumboJumbo INSTAGRAM: http://instagram.com/officialmumbo OFFICIAL MUMBO JUMBO PCS: https://www.chillblast.com/mumbo-jumbo-official-computers.html
————————————————-
My texture pack is Faithful and Codecrafted combined. Faithful: http://www.minecraftforum.net/forums/mapping-and-modding/resource-packs/1223254-faithful-32×32-pack-update-load-of-new-ctm-1-7 CodeCrafted: https://www.youtube.com/watch?v=TL2IKidhWb4
Intro: ProleteR – Can’t Stop Me outro: ProleteR – April Showers http://www.youtube.com/user/proleterbeats https://www.facebook.com/ProleteR.beats http://proleter.bandcamp.com/
Timelapse: LAKEY INSPIRED https://soundcloud.com/lakeyinspired
Upload Schedule:
Tuesday – Redstone Wednesday – Hermitcraft Thursday – Redstone Friday – Hermitcraft Saturday – Redstone Sunday – Hermitcraft