The Bitwise OR Gate is a two-input, single-output bitwise logic block, applying the OR operator to individual channels of bundled cable signals.
Recipes
Usage
The Bitwise OR Gate can be placed in 24 different orientations, on floors, walls, and ceilings.
When placing the block, the flat side will be placed against the face clicked by the player, and the output side will point to the edge of the clicked face nearest to where the player clicked. A transparent preview is rendered to assist with orienting the block; this can be disabled in the Client Config if this is undesired.
Bitwise logic plates can connect to Bundled Cables, Colored Cables, or similar blocks. For each color channel, if the Bitwise OR Gate is receiving power from either input on that channel, the output side will output a full-strength signal on that channel.
Red Alloy Wires will provide input signal to all sixteen channels.
Data
Blockstate Properties | Values | Description |
---|
facing | {"down", "up", "north", "south", "west", "east"} | Direction to the neighbor block the plate is attached to |
rotation | [0,3] | Rotations about the axis of attachment in 90-degree increments |
BlockEntity Data | Format | Description |
---|
clockwise_input | integer | Bitflag in wool color order where the least significant bit is white. |
counterclockwise_output | integer | Bitflag in wool color order where the least significant bit is white. |
output | integer | Bitflag in wool color order where the least significant bit is white. |
History
Version | Changelog |
---|
1.21.3-7.0.0.0 | Power is now stored as input/output bitflags instead of sixteen output integers |
2.1.1.0 | Added to game |