What is going on team this is paintball Duke 22 here and this is questing minecraft episode 48 part 2 this is an intermediate redstone tutorial dealing with logic gates and other fun redstone uses so let’s make it daytime real quick and I want to explain a few things as We’re getting into this so um here i have a few blocks separate blocks that are set up now what I’m just kind of doing this to show you what kind of blocks are allow redstone current to be put into them as an input and which will transmit the power over two adjacent Blocks you notice glass will not glass will not do that pistons would be extending like they do with all the others but they do not sadly but we can work around that this right here is a you may have seen this if you watch Coast quest this is basically what he Uses for a light system for his darkroom trap and this is just like a quick like a signal Holtz really quick it sends a quick pulse to this side when you flick the switch but the power from the switch gets transmuted through the block and into this which keeps this lit up and This torch goes out on this side the input goes into this piston which extends it now as soon as I flick this switch the power immediately is going to go off to this torch or to this repeater the reason why this works is because there every single time that you have Like red stone and then a torch and then red stone and then a torch every single time that there’s a torch there’s a little bit of a delay with redstone so what’s going to happen is when we flick the switch back up that piston is going to collapse and in the time that There is a split second delay but this piston or this is going to be off so that piston can register that it’s closed and then this torch will come on because the path the block will be off and it’s going to send the signal through this repeater back into this Current so it’s going to go it’s going to go on very quickly and off because as soon as this as soon as this part goes off this wire turns off and this torch comes on which quick pulses the piston so i’ll go ahead and show you guys an Example of how that works so you see Nick there’s kind of a delay and then it does a quick pulse in returns back to its normal state so i’ll go ahead and show you guys in quick motion and i’ll show you what this side does you can see That the piston gets returned before the eye before this one activates and that’s how code did it just with this simple little gate right here so now i kind of wanted to give you guys a little bit of a behavioral example here so we have powered redstone that it can climb up The side of a block and end up being on top of it now a way that you can stop it from climbing up on top of the block is to put a block over it see you notice here that it’s basically this is essentially the same thing it’s just That this is not powered because this block is kind of blocking the path another handy little thing is this glass right here you notice that the redstone is still lighting up and heading over to this area even though there’s glass here that’s because the glass doesn’t stop The current from flowing through it it’s almost like it treats the glass like an airboat lock which is cool you can have some pretty handy little things come from that but anyway let’s go ahead and show you this one really quick this is a quick poll so you notice that the duration of The button stays stays down longer than the piston I kind of rapidly pulses up and then comes back down that’s just because a button goes into this input which momentarily terms this off which allows this to come on but as soon as that does this torch comes on this torch Goes off and then this torch comes on which turns this torch off again so that way since there’s only three not gates that it’s going through it means that it’s it’s got a quicker speed than the whole duration of the button so let’s go ahead and get into the logic gates the Main reason why you’re here so this is some intermediate logic gates that you can find on the minds on the minecraft wiki so here’s an xor gate you see it is pronounced X or so this is basically a two input logic gate and this is kind of What it looks like so I’m going to go ahead and give you guys a practical example something that you might be able to help you understand this a little bit better I know in my house there is a in my kitchen there is two light switches that are connected to the same light Fixture so when I flick the one light switch that’s over by the kitchen counter the lights come on and well there’s another switch that’s by the garage door so if we flick that the light the lights will turn off or vice versa if the lights are off and we flick The one by the garage door the lights come on now this kind of this XOR gate basically works and it says when input a and input B are not equal to each other which means this one is zero and this one is one the non-powered state and the Powered state the output will be on in it’s powered state and when they’re equal to each other it will be in its off state so when they’re both powered it’ll be off and when they’re both non-powered it will be off as well so let me go ahead and break Down this logic gate for you so the first input will it and remember this is a very very symmetrical design for this logic gate so the input feeds into this block which when this input is on it turns this torch off now this torch I is powering the redstone that’s in front of It but it’s also powering this block right here now like like with an example I tried to I think I just totally skipped over back here yeah you can see here you would think that if you power this redstone and stuff redstone into the wire that it would transmute the Power on well it doesn’t because this redstone is acting as an input to the block so the block is receiving it state but it’s not going to pass it on to redstone wire it’s going to pass it on to a block that’s going to take the Power now the way to get around this is if you put a repeater it acts kind of like a power injector almost like it basically takes the power from the redstone and turns the block into a block that will give off power so that’s why this redstone lights up and this can Come in handy in a number of ways and i’ll show you i’ll be showing you one a little bit later you notice it does not pass through glass but it does pass through stone so let’s get back over here and kind of explain so the same way The this redstone torch is powering this blocks and sets above it the exact same way that the repeater was powering the one that’s on the ground so this block is now able to transmit power and it’s transmitting it to this redstone wire that’s adjacent to it sorry let me make It daytime and this power that’s coming from this torch and this torch because they’re both on at the same time is turning this torch out now this torch really is an important when you set the sides and equal to each other because as soon as you set this in equal it’s going To turn this part off which is going to turn the torch on it which is why the output come so let me go ahead and flick the switch and you can see the change here so this torch goes out and this redstone wire goes out because this Torch and this torch are both out and which allows this torch to turn on and the block is receiving the power so it can transmit the power to the piston now now you notice this torch went out so this block is no longer powered so this redstone is being powered from this Block so you know as soon as we flick this switch and this torch goes out this block is going to stop sending power so this redstone will go out now the reason why this works when they when they’re equal to each other the thing is off is Because this torch right here as soon as that it receives the signal from this to turn itself on it powers up both of these sides which turns out both of these torches so I’ll go ahead and give you that example so this torch is now powering both sides which makes the Output enacted so I hope that hope you kind of understand how that is and this is how you build it this is very very very similar to the one on the Minecraft Wiki and you can take it as you will so the next gate is like you would have Guessed it’s the inverse of the XOR gate it’s the xnor gate now it says it does essentially the same thing except by default the output is in eck there is active not inactive um it’s built a little bit differently you notice there’s still three torches there on This block and the block over there are receiving power from the redstone torch here and the redstone torch that’s over here um so these torches are off as soon as they as soon is one of these torches becomes inactive this block will stop receiving power and This or this one will come on and it will end up lighting this redstone which shuts this power off so let me go ahead and give you an example and will flick the switch so this torch goes off which means this blog stops getting power so this torch comes on and sets this Redstone and ignites that so that allows this torch right here to turn off and the output comes right under this block here and goes out so you notice when we flicked this right here now this block not only is it powering this redstone torch when it’s like this it’s not only Powering this redstone torch it’s also powering the red stone that’s right here I because the redstone is adjacent so when you flick the switch this one goes out you notice on the other side when we flick it this will go out also well this redstone right here and this redstone Right here both feed into this block as inputs so since they are since they are both in active right now this torch is able to come on and this torch is sending its signal straight down and making the output be powered so it’s kind of the same thing as this one Except the output is active by default when the inputs are not equal to each other it turns off instead of on like this one and so this this xnor gate is the inverse of the xor gate so let’s move on to the next gate it’s the implies gate now the implies gate is Basically set up where by default the output is active there’s only one possible combination of the levers to be flicked for the output to come off so if you flick input be it nothing happens and if both of the inputs are checked nothing happens now the only way to make Anything happen is by hitting input a by itself when input B is still off if if input be ever goes on it extends so that is a very very simple implies gate and they are active by default the output is active by default so now we’re Getting into an RS nor latch now in our list RS nor latch is also called a memory cell and the memory cells kind of think of it as when you when you input a signal it stores that signal until it receives an input from a different input The cell itself is this right here so you see let me just kind of explain how this is working so this block with a redstone torch on it so the redstone so how you how you build it I’ll kind of give you an example you put the block Down and you put a redstone torch on it and then you set the redstone dust here and that receives the power from this and then you stick a block right here now you see this redstone is being an input into the block so we know as soon As we slap a redstone torch on this it’s going to go out because it’s receiving power and then we can just route it back around this way so let me go ahead and clear up and I’ll show you guys how we can change the state of this and how it Stores it so here we have one input so we know as soon as this block right here receives power it is going to turn this torch off which we can tell that this piston is going to retract and this torch since this is not gonna be powered Anymore is going to turn on well the power from this torch is going to end up sending its signal back into this block which holds it state until this switch goes out so let me give you an example we’ll go ahead and flick this switch so you notice that the redstone current That was here now switched to here and this torch came up so this we can hit this as many times as we want it’s not going to change its state until we hit another input which feeds into the other side of the memory cell so these are kind of handy because they Have two two outputs and they can do different things and you can slap things on it so that’s how a memory cell works so you could have it be you push one button to open your door and you push another button to close your door push One button to turn off your lights push one button to turn on your lights it’s that simple so now we’re going to get into an RS Nanda latch now in RS nan latch is essentially the same thing as an RS nor latch except the outputs and Inputs both have not gates on them so by default the outputs are in their default state now the thing about an RS named latch is when one of the inputs is triggered instead of like with the RS nor latch as soon as one side is triggered you can hit that button again And again and again and it’s not going to do anything well with an RS NAND latch if you have one input taken care of and you you can hit the other one as many times as you want it’s not going to do anything and I totally just burned Out that tillage so let me fix that ok so we see when we flicked this switch that this piston retracted because this output changed from its active state to its inactive state but we notice when we flick this the up the other piston doesn’t change its state because this is Kind of locking it in place but if we let go of this piston and did it then that’s fine but we know that this one won’t work because it’s still receiving its signal from this input so that’s how an RS nine latch works it’s not really that practical in Minecraft but I did Want to cover it and show you kind of how it looks so we’re we take our input and our input ends up turning this torch off which allows this torch to come on which sends a signal to this which shuts this off and it’s kind of like a Symmetrical thing where when this one is switched this torch not only is it powering this half of the cell but it’s also keeping this side powered so it’s not going to change its state even if you select the input this torch will go off but the Input is still this torch right here is not going to turn on until this one goes off so that is how an RS man Blatche works and the other side is exactly the same way it’s just a kind of mirrored so now I’m going to go ahead and cover a Few very handy they’re not really logic gates they’re just really handy red stone tools that you can use this one right here is called a rapid pulsar now the rapid Poulter’s they they are able to very very rapidly turn on and turn off the signal now you notice you hear The hissing sound that is the torches actually burning themselves out and let me go ahead and give you an example of what happens when I torch gets burned out if you have this here and you stick a torch on top of it and we’ll have a Redstone input and a lever so when we’ve turned this input on the torch goes out when we turn it off the torch goes on well we know well one thing is if you get this going too fast you can actually end up burning out the torch so no Matter when it’s on or off it burns out for a split second so we can turn it on/off let me burn it out really quick so on on and eventually it comes back it just needs a few seconds to recover and reset itself well if you had any less Than these four torches these kind of go around in a circle pattern let me go ahead and flick this so you can see it I’m going to disable this noise makers but so you can still see you see it goes here then it’ll go here and it kind of While one torch is resetting itself from being burnt out the next one lights up this stuff and this is a rapid pulsar it’s very handy you can use it for a lot of different things i’m going to go ahead and show you one example of it the Thing that I like about this version of a rapid pulsar is they are able to have an on/off switch this right here is another example of a rapid pulsar but they are not able to have an on/off switch because the directional repeaters if you end up applying power to both sides or To one side for too long this stays lit and it sends the signal to this which keeps this side lit and it just would stay on let me go ahead and give you an example of that so if you did that it would stay lit and it wouldn’t work at All so that’s how you start this kind of rapid full sir I do prefer this kind of rapid pulsar though because you can turn on and off what that is how that one works so now I’m going to go ahead and get into clocks now the most common is a 5 clock and what if 5 clock is is it kind of just turns on a signal turns off a signal turns office ignore and turns on a signal not as quick a rate as a rapid pulsar but it’s it’s it’s a steady pace let me go ahead and give you an Example you build a 5 clock by putting five blocks in this pattern three there and then redstone wrapping around feeding into this and it’s just five not gates kind of set up in a circular motion and this is actually another gate that you can control with a switch you Can turn it on and off so here you see this redstone is on and it’s powering this block which turns this torch off well since this torches off it’s not sending it signal on to the next one but when I flick this switch you see that it Just kind of keeps going around and around in a circle you can follow the current it goes there and back around up here and it’ll keep going nonstop until we flick the switch or whatever another version of this five o’clock you can use five diodes now I have these delays kind Of turned up so you can see a little bit better so the current moves a little bit or but this one is not one that you’re able to turn off without removing a piece of redstone that’s why i like this version with them out gates better but You can start this up with by pressing the button and you see it goes around in a circular motion room it’s just going to keep going around however the only way to stop it is to actually turn it off that way because if you were to have Another input going into one of these and you had a torch or a lever let’s say that was applying constant power any time you’re applying constant power to a thing with diodes it’s going to send the power so the power would go here this would stay lit this would stay lit this Would stay lit this would stay lit and eventually this would stay lit which means we’d have just a circle of power again like I showed you on this so this is just kind of like a slowed down version of this kind of rapid pulsar another useful one is a fork lock now This is a it’s a fork lock it uses not not get here not get here with a little bit of some trickery so let me go ahead and explain how this works I’ll go ahead and start it up so the current goes from this torch down into this torch which You see this one alternating every time this block this redstone right here goes powered it powers this block which turns off the torch and since this torch turns off it it makes this block B non-powered so this torch comes on and it sends a signal to this one so you can see it Kind of working in a circular motion it’s it’s a four o’clock it’s not a five clock I believe the only difference is the timing is a little bit let me go ahead and see if I can see what the yeah the timing on this one is a little bit Faster than the five clock because it’s not going through as many steps okay the less the less gate that I wanted to talk about today before I get into the more advanced the more difficult to understand redstone at the flip-flops that a lot of people don’t under But i’ll go ahead and try to break it down as best as i can for you guys but first I have a dispenser here a couple dispensers that have arrows in them and this is a it’s hooked up to a rapid pulse ER so we have our rapid culture Here with the arm with the switch here that turns it on and the redstone is coming down here now the thing about these dispensers is you have to supply them with a power source to tell them to turn on even if they’re receiving a signal from the even if they’re Receiving a signal from this redstone here that even if it’s rapidly pulsing it’s not going to go unless it has a power source telling it to turn on this could be a redstone torch or lever this is what I do I usually just stick a redstone torch in the middle here in Between two of them and watch how quick this can eat through arrows so this setup can rapidly shoot arrows by the hundreds I mean we’ve been letting this go for maybe five seconds already maybe maybe closer to 20 seconds now let’s go ahead and see how many Arrows it’s already shot through in this tiny little period of time let me make some room in my inventory really quick okay so we have 64 so three stacks is 64 that’s 192 and 16 is 208 so we shot through 208 arrows in like 20 seconds Out of two of these rapid filters so you can tell they are very effective now this is the honestly the exact same thing that’s in my earlier video that I show you guys the trap or it’s not really a trap I just kind of show you guys the rapid poulter with the Dispensers that i use to shoot mobs that are at my front door but you can see how effective it is so thanks for watching guys and hopefully you are not completely bored with this series and we will go ahead and get into flip flops tomorrow you Video Information
This video, titled ‘Questing In Minecraft! – Redstone Tutorials: Intermediate Logic Gates! [HD]’, was uploaded by paintballduke22 on 2011-08-27 02:39:45. It has garnered 4200 views and 52 likes. The duration of the video is 00:26:49 or 1609 seconds.
We cover XOR gates, XNOR gates, Implies gates, RS NOR Latches, RS NAND Latches, Rapid Pulsers, 4 clocks, 5 clocks and pulse generators in this episode.
What up teammates?
Part 2 of Episode 48 of my Minecraft series, “Questing in Minecraft.”
Minecraft is created by Markus Persson and can be bought and played at: http://www.minecraft.net
Visit my website at: http://www.minecraftduke.com
WORLD MAP DOWNLOAD IS HERE! http://www.mediafire.com/?6houbohe02vx2z4
Follow me on Twitter at: http://twitter.minecraftduke.com
In this episode: We start getting into some trickier, more advanced logic gates and have some fun exploring fun Redstone ideas!