AND gate
A logic gate that outputs redstone signal only when both of it's inputs are powered.
Obtaining
This block can be broken with any tool, as well as the fist.
It can be crafted using the following crafting recipe:
- | Redstone torch | - |
Redstone torch | Redstone dust | Redstone torch |
Stone | Stone | Stone |
Behavior
The AND gate has two inputs and one output.
The output is only powered when both of it's inputs are powered as well.
Data values
Block ID
logicgates:and_gate
Block states
Blockstate | Values | Description |
---|---|---|
facing |
east , west , north , south |
The direction the block is facing. |
powered |
true , false |
Whether the block is emitting redstone power. |
swapped_direction |
true , false |
Whether the block's side input direction is swapped. |