Redstone Logic: Control Your Machines from Multiple Switches Using OR and NOR Gates

Jun 28, 2012 03:25 PM
Article cover image

Control is important. Mankind inherently wants to control its environment, which is why we have things like indoor plumbing, electric lights, air conditioning, and more. Likewise, Minecraft has redstone, which is a way for users to control their environment and manipulate it to suit their needs.

For many, it's enough to simply create amazing redstone machines, but for others, the machine is only half of it. The other half is making use of it.

For that, we have logic gates. Those gates will allow you to have greater control over the implementation of your machines. Check out this short video on OR and NOR gates to really get a feel for what they do:

The Problem

So, you have your redstone machine, and you can power it with a lever. You can even power it with two levers.

634757733348028780.jpg

Heck, if you're going nuts, you can even control more than one machine with the same lever.

634757733823205614.jpg

The problem, though, is that you only have so much space. Machines tend to get pretty cramped pretty fast, so odds are good that you only have one area for your switch to go.

When that happens, it's time to use the power of the OR gate.

The OR Gate

An OR gate is any system that outputs power when any of the inputs are turned on. The picture below is the simplest OR gate: just a block with two levers on it. Turning any lever on will power the piston.

634757735405360393.jpg

However, this is also an OR gate:

634757736072573565.jpg

Look at how simple that is! It's just a bunch of redstone wire on the ground. There are no blocks, no torches, nothing. However, any one of those levers will power the piston when turned on.

This principle works with any redstone machine, no matter how big or how small.

The NOR Gate

The NOR gate is basically an inverse OR gate. It's exactly the same setup, except there's a block with a torch on it.

634757737693104411.jpg

The only difference is that the NOR gate provides power when all of the levers are turned off, whereas the OR gate provides power when any of the levers are turned on.

This is a really simply way to have multiple switches for any of your redstone machines, and using buttons in some places will ensure that you don't need to run around flipping switches if you leave one on by mistake!

Just updated your iPhone? You'll find new Apple Intelligence capabilities, sudoku puzzles, Camera Control enhancements, volume control limits, layered Voice Memo recordings, and other useful features. Find out what's new and changed on your iPhone with the iOS 18.2 update.

Related Articles

Comments

No Comments Exist

Be the first, drop a comment!