Chapter 5
Designing Logic Gates, Loops, and Other Devices
In This Chapter
Learning your NOTs, ORs, and ANDs
Applying loops and recursion
Stringing together interesting devices
To make more complex and intricate redstone devices, you need to know the basics of cleverly manipulating redstone current. This chapter introduces you to logic gates, which are powerful arrangements of redstone that can be connected and combined to produce many different machines. I also explain other creations that add interesting functions to your redstone designs.
Designing Basic Logic Gates
In redstone programming, a binary input of a device is any block that affects the device when powered. Every binary input can have two possible states: powered or unpowered. A logic gate is a function that converts one or more binary inputs into a single binary output.
Figure 5-1 shows an example. The blue blocks contain some mystery function, with binary inputs on the right (the two levers) and an output on the left (the lamp). Note that the top input is powered, the bottom input is unpowered, and the output is powered. If you flip a lever, or both levers, the output might change state, depending on the function. ...
Get Minecraft Redstone For Dummies, Portable Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.