DATA latch
A latch that stores one bit of information, and outputs based on the stored bit.
Obtaining
This block can be broken with any tool, as well as the fist.
It can be crafted using the following crafting recipe:
NOR gate | - | NOR gate |
AND gate | - | AND gate |
- | - | NOT gate |
Behavior
The DATA latch has two inputs and one output.
The front input acts as DATA input. It defines what the output will be once SET is triggered.
The side input acts as SET. It makes the output become whatever the DATA input is.
Data values
Block ID
logicgates:data_latch
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. |