AND Gate: Difference between revisions
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
The AND Gate has 3 inputs and 1 output. When placed, on the ground, the output is the side facing away from the player while the other 3 sides are the inputs. | The AND Gate has 3 inputs and 1 output. When placed, on the ground, the output is the side facing away from the player while the other 3 sides are the inputs. | ||
===Logic=== | ===Logic=== | ||
The output is disabled by default. When a signal is received on all of its enabled inputs, the output is enabled. | |||
=== Input Configuration === | === Input Configuration === | ||
A shift+right-clicked can toggle which inputs are active. Disabling inputs causes the gate to ignore that side. For example, if an AND gate has only 2 sides enabled, then it would only need those 2 to be active in order to activate the output. | A shift+right-clicked can toggle which inputs are active. Disabling inputs causes the gate to ignore that side. For example, if an AND gate has only 2 sides enabled, then it would only need those 2 to be active in order to activate the output. |
Revision as of 20:47, 6 April 2014
Type |
Multipart block |
---|---|
Physics |
No |
Transparency |
Yes (partial) |
Luminance |
Yes, 7 |
Blast resistance | |
Tool |
Any tool |
Renewable |
Yes |
Stackable |
Yes (64) |
Flammable |
No |
Availability |
Survival |
First appearance | |
Drops |
Itself |
Name |
and_gate |
The AND Gate is a simple truth-table based logic gate with 3 inputs and 1 output.
Obtaining
Crafting
Ingredients | Crafting recipe |
---|---|
Anode + Cathode + Circuit Plate + Conductive Plate |
Usage
I/O
The AND Gate has 3 inputs and 1 output. When placed, on the ground, the output is the side facing away from the player while the other 3 sides are the inputs.
Logic
The output is disabled by default. When a signal is received on all of its enabled inputs, the output is enabled.
Input Configuration
A shift+right-clicked can toggle which inputs are active. Disabling inputs causes the gate to ignore that side. For example, if an AND gate has only 2 sides enabled, then it would only need those 2 to be active in order to activate the output. When shift+right-clicked, the gate's inputs are manipulated in this order: All active, right disabled, back disabled, left disabled, right and left disabled, back and left disabled, right and back disabled.
History
Version | Changes |
---|---|
v4.0.0 | Added the AND Gate. |
Issues
Issues pertaining to "AND Gate" are maintained on the ProjectRed Github page. Report issues there.