Logic gates
You can build and combine the logic gates outlined on the previous chapter inside Minecraft using just redstone wiring.
Theoretically, it’s possible to create even the most complex computer, but also extremely time-consuming and very hard in terms of hardware design. So far, people have built 4-bit computers, calculators capable of performing square roots, trigonometry calculations and graphing, compilers, working mobile telephones and many more impressive creations.
NOT gate
As we saw before, the NOT gate acts as a signal inverter. Below is its “truth table“. A and B are going to be our inputs for studying logic gates, although of course for the other two gates you can have more than 2 inputs. Notice we are using the numerical values instead of the Boolean values, but they signify exactly the same.
A | NOT A |
---|---|
0 | 1 |
1 | 0 |
The following is the hardware representation of the NOT gate. It’s what you will be using if you ever decide to design and implement a more complicated circuit. It is made up of three elements: the wire, which is the horizontal line, the triangle, which is the symbol for a diode, and a little circle on the right. Note this circle is actually the negation part and can actually be added to other gates as shorthand for not adding the whole NOT gate.
And here is how you make it in Minecraft: