How to Use the Redstone Comparator in Minecraft!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
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 a 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 on my comment section asking me what nerf is this thing what nerve 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 comparative 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 nipper 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 inputs and as you can see if you 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 we all will 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 it 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 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 early on in the video the comparator who's got this little nib up at the front here which we can 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 gonna flick this on and then flick this one on and as you can see we don't get to any redstone output now that is because the signal strength running into the side of pirata 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 restaurant 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 signal 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 there so you might have to rewind and watch back through it until you get it straight ahead and of course I would suggest experimenting with this but now what let's move on to the subtract mode no I would say I've probably got a little bit of explaining to do right here because you've got redstone all over the place you've got a 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 8 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 there are 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 starts at 15 this right here has got a signal strength of 15 and then we'll go fourteen thirteen twelve eleven ten nine eight eight we'll be going into the comparator and because comparators always output the same signal strength that has gone into the back of them would also get a signal strength of eight 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've flipped this even right here then once again it would be 15 14 13 12 11 10 nine eight 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 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 signal strength of two because 12 minus 10 is 2 so subtract mode subtracts this side from that side so you run the input into that one and then the comparator will subtract the inputs coming in to 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 then 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 a 13-10 it equals 3 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 worthy and it's quite difficult to understand so I'm going to do is I'm going to put well 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 early on in the video the comparator doesn't just compare and subtract things it can also draw signal strings from different items in containers so behind me we've got every single item the comparator can draw a signal strength from first off we've got the furnace through all the brewing stand the hopper the hopper mine cards on top of a detector rail there we've got a dispenser dropper a chest a trap chest the chest mine cards on top of the detector once again then we have the strange ones which are the cake the cold ruler which is definitely one of the most useful things because cauldrons are movable objects so that's basically removable power block they've got the command block the end portal frame we've got to the item frame the jukebox and as of minecraft wonderin we also have the Shocker 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 the sleeve 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 is a tiny bit complicated so I 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 sack size for this type of item thank you ever so much to Wikipedia for that one because that's actually really cool fact now this time to take a look at some simple circuits that may use sort of the comparators functionality I'm going to try my best to explain to you how all of them works and one is this redstone clock right here now this may look really very strange we just have redstone running back around it into the Sun of the comparator but this actually works that thinks as a subtract mode which I explained earlier on so right now we're 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 is the output again which means that then once it later is subtracts the 13 which means you get 2 and so on and so forth which means we get this flashing a redstone clock which I use in a ton of my redstone builds now whatever you think you know this looks like another redstone clock but actually this is a fully functional post 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 8 into the back of this comparator right here it will give out a signal strength of 8 now what this means is when we hit this button and 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 0 and that's when the pulse actually shuts off and finally on to one of my favorite redstone circuits this is the automated dropper circuit when we place in a bunch of items here you can see that 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 what is 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 it 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 sort 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 Powell's dis dropper which means that this dropper starts checking out his items and of 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 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 worthy 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 drool to that like button and if you really loved it then make sure to subscribe but thanks for watching guys this is remembe oh and I'm a cashier later [Music] you [Music]
Info
Channel: Mumbo Jumbo
Views: 3,195,380
Rating: 4.9504809 out of 5
Keywords: ideas, creative, build, survival, tutorial, How to, MumboJumbo, ThatMumboJumbo, Minecraft, Building, Mumbo, Redstone, Technical, Piston, 1.9, 1.8, 1.10, 1.11, Gaming, Game, spotlight, showcase, challenge, command, mini-game, gameplay, playthrough, Let's Play, No Swearing, Family Friendly, mc, mcpe, vanilla, Xbox, 360, PS4, PE, pocket edition, mobile
Id: w_ZFRV6AT6E
Channel Id: undefined
Length: 12min 5sec (725 seconds)
Published: Tue Dec 13 2016
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.