Skip to content

Bitwise XNOR Gate

Joseph Bettendorff edited this page Nov 14, 2024 · 5 revisions

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

Bitwise XNOR 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 XNOR Gate Soldering Recipe for Bitwise XNOR Gates

Usage

The Bitwise XNOR 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 XNOR Gate is either receiving power from both inputs or not receiving power from either input, the output side will output a full-strength signal on that channel (equivalent to an == (EQUALS) operator on binary input).

Bitwise XNOR Gate with input combinations

Data

Block Block/Item ID Localization Key
Bitwise XNOR Gate morered:bitwise_xnor_gate block.morered.bitwise_xnor_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