Hey I teammates what is going on it’s paintball Duke 22 here this is questing in minecraft episode 48 this is going to be our logic gate tutorial and I’m going to probably release this in three parts so this is going to be part 1 this is going to be beginner’s logic gates Things that you should get to know before we get into some of the more intricate designs of the logic gates in this tutorial I’m going to be pointing out why exactly these things work the steps that they take to make the results what we see so let’s go ahead and get Started here I have two strings of redstone attached to switches and pistons at the end of it now when we flick both the switches we see that the piston on the right does not go up piston on the left does and this is like we talked about before this one block Can make an entire difference in your redstone builds this one block made it so this piston didn’t give power which that this piston could be anything from a track changer to a even just a repeater for something else to get a signal and so spacing is going to be Really really really important so let’s go ahead and get into the basic logic gates so the first gate we have is called a not gate and I don’t know why that’s not capitalized it’s supposed to be n capital n capital o capital T and basically this is an inverter you hear People talking about inverting the signal so let’s go ahead and talk about what that means so right now you see our input which is this switch is off because this redstone is turned off now the inverter is right here what it is is it takes the signal from The input and makes it the opposite of whatever it is and then continues the signal so this torch on this block represents an inverter a not gate so the redstone going into the block is non-powered which means the block is itself is non-powered the torch is able To stay in its default state which is on and power this redstone which makes the piston extended and that kind of works the opposite way as the regular way when you flick the switch the piston goes up in this instance when you flick the switch the piston is going to go down Because the power goes into the block which changes the state of the torch which makes the piston go into its off state so that’s a not gate that is how an inverter words now let’s go into a not not gate now I’ve built a compressed version of this really quick our hero Right now so let me go ahead and show you basically what and not not gate is its to not gates which is this some redstone and this this is a not gate so you have your input which is off and your output which is off not not gate is Also referred to as a repeater I’ve just made a little compressed version and then i’ll go ahead and show you guys the actual repeater block in Minecraft as well which I’ve already shown you a little bit but ok so you here you have the input which is off goes into this Block which is off this torch is powering this redstone because it’s adjacent to it which is powering this block which makes this torch go into its off state and so the result for the output is that it is off so when we flick the switch this block is going to Get power which will turn this torch off because that’s the state will change which means this redstone will go out turning this block off which will turn this into its on state and hopefully allow our piston to extend so we flick the switch and we see that is Indeed what happens this torch goes out this torch comes on and the piston extent now in Minecraft they have the repeater block which does essentially this exact same thing in except instead of taking up three blocks space it only takes up one block space now the bad Thing about the these kind of repeaters is they are directional but when you take into consideration that they’re so much smaller there’s still the best choice in any repeater need so let’s move on to the next gate which is an or gate and you see in parenthesis here on This sinus as non-isolated inputs so let’s talk about isolated inputs for a minute this one has non isolated inputs so the redstone these three are all hooked up to the same circuit these three inputs and an or gate means if any of these inputs is pressed the results Will be that the piston or whatever your output is will change its state so if you flicked the first input the output would change its state now not to confuse you by overwhelming you but isolated inputs you notice over here on this one side for the third input I have Another string going to another piston now if non-isolated inputs you notice when you flick this first switch the redstone current travels all the way into these other inputs and up to the output but also up into here now that might be beneficial for what you’re Looking for if you want to be able to flick any of these three inputs and have all the Pistons go up um but let’s go ahead and get into an or gate that has isolated inputs and that looks like this you have your inputs going into a block With a redstone torch on it and then this should look familiar to you it’s a not not gate which basically is a repeater but this kind of not this kind makes the inputs isolated when I flick this switch right here that first input the piston will go out or the piston Will go up because the torch goes out I’ve already explained how exactly this works so I’m not going to again just because that would add a lot of time on to the video so the second one you flick it and it goes up but you notice this Piston over here is not now it’s essentially the same wiring except the third input since it is isolated away from the other inputs the redstone doesn’t travel through this block and go to the other redstone circuits around it it just it makes it so that this piston Is only going to go up or this output whatever is only going to go up when the third input is pressed like if you say this was inside your house and this was outside of your house when you wanted when you were coming in from the outside Of your house you wanted to open the door so you would click and it would open the door let’s say that was a door let’s say it was a button so you it would open the door you could go in and it would stop itself now let’s say this One was inside your house and when you wanted to leave you would open the door and turn off your lights so if you had lights this would be the lights and that would be the door so the door would open and the lights would change their state Whatever they were on off whatever you want that was a just kind of a way for you to relate it to how it would be useful okay let’s move on to an and gate so with the or gates it was one if one of the inputs was pressed the outcome Would be the output would change its state now and gates are a little bit different and gates they require to have all of the inputs on in order for the output to be come on as well so like for example if we flick this first input we notice That this torch goes out but the piston doesn’t change its state whereas oh and if we switch over to this one it has the same effect but if we turn both of the inputs on at the same time the piston changes the state now why is that well We have power going into these two blocks would that have redstone torches on them and we know that when Pat when the block gets powered the redstone torch changes its state well here we have a little bit of red stone on top of this block that’s adjacent to these Torches so like if i were to flick this switch really quick you see that this torch powers the redstone and vice versa on the other side so when this is powered so when these inputs when both of the inputs are off or only one of Them is off this has power from one of these redstone torches which means that it transmutes it transfers its power to this block which makes the torch go out so the piston doesn’t retract but at but when we flick both of the inputs the torches are out which makes this Redstone turn off so the block doesn’t get any power from it which allows this redstone torch to go to its default state and extend the piston so that is how an and gate works they both have two so think of it like the inputs this input and this input have to be pressed So with this one you thought this input or this input or this input whereas with this one it has to be both this one and this one to get the desired effect so now I’m going to go ahead and I’m going to go ahead and show you an example of a Nor gate now you say that oh that sounds really similar to an or gate well it is basically an or gate is an inverse of an or gate and by inverse I mean with an or gate the output was in its default off state whereas with this We notice the same setup it’s an or gate that goes into a not gate which inverts the signal and makes a positive so that’s so that’s where you get the nor from so it basically works the exact same way this one you notice is non isolated which means when we flick this Switch all of this redstone is going to be powered but you notice when we flick the switch the piston changes its state because the power block the block gets powered from the input and inverts the torch and that works with any of these and we notice with non isolated inputs If we had something coming off this branch that we only wanted when this when we flicked this input it wouldn’t work unless we found a way to isolate the inputs well the good news is there is an easy way to isolate the inputs on a not gate basically you take this sorry Not gate huh this is an or gate not a not gate huh anyway you take this uh you take the not gate and move it back from here back to isolate the inputs so all the inputs feed excuse me still getting over that sinus infection all the not Gates are all the inputs feed into this block into the not gate and the result is a positive or a on state out output so if we were to flick any of these switches any of these inputs the output would turn off and that is how a not gate works So now we’re getting to an and gate so we see an and gate is the inverse of an and gate so we can kind of guess what happens so with and they both have to be on for the output to change its state now we see the N in front of it which Kind of means the inverse so we know that we’re going to have to so we know by default the output is going to be on and we’re going to have to turn on both of the inputs for the output to go off so if we flick both of these we notice That the output goes off and this is because the red stone goes into the blocks now you notice on the on the regular and gate we had a torch on this side of the on this side of this block but it as for the NAND gate we don’t Have that and that’s because we want the signal from these torches to continue on to the output so if they’re both off then the output will be off so I hope you learned something from this minecraft basics in redstone logic gates and thanks for watching this is paintball Duke 22 you Video Information
This video, titled ‘Questing In Minecraft! – Redstone Tutorials: Basic Logic Gates! [HD]’, was uploaded by paintballduke22 on 2011-08-24 20:20:29. It has garnered 1239 views and 19 likes. The duration of the video is 00:14:42 or 882 seconds.
We cover NOT gates, NOTNOT (repeater) gates, OR gates, AND gates, NOR gates, and NAND gates in this episode.
What up teammates?
Part 1 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 with Basic Logic Gates and how they work.