Skip to content

Bitwise OR Gate

Joseph Bettendorff edited this page Aug 1, 2024 · 3 revisions

The Bitwise OR Gate is a two-input, single-output bitwise logic block, applying the OR operator to individual channels of bundled cable signals.

Bitwise OR Gate

Contents
  1. Obtaining
    1. Crafting Recipe
  2. Usage
  3. Data
    1. Block Entity Data
  4. History

Obtaining

Crafting Recipe

Recipe Type Ingredients Output Example
Soldering 1x Bitwise OR Gate Soldering Recipe for Bitwise OR Gates

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 Network Cables, Colored Network 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.

Bitwise OR Gate with input combinations

Data

Block Block/Item ID Localization Key
Bitwise OR Gate morered:bitwise_or_gate block.morered.bitwise_or_gate
Block Properties Value
Map Color Quartz
Blocks Movement Yes
Flammable No
Liquid No
Opaque No
Replaceable No
Solid No
Blast Resistance 0
Hardness 0
Light Output 0
Tool Required No
Flammable No
Piston Reaction Pushable
Render Type Cutout
Item Properties Value
Stack Limit 64
Blockstate Properties Values
facing {"down", "up", "north", "south", "west", "east"}
rotation [0,3]
Block Tags
None
Item Tags
None

Block Entity Data

<root>
{
	"power": [array of 16 power values]
}
Data Field Format Description
"power" Byte Array (16 values) Array of the power value stored on each channel (in wool color order); each value has valid range [0,31].

History

Version Changelog
2.1.1.0 Added to game
Clone this wiki locally