Bitwise XNOR Gate


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

Contents
  1. Recipes
  2. Usage
  3. Data
  4. History

Recipes

Recipe TypeIngredientsOutputExample
Soldering
  • 1x Bitwise XNOR Gate

Shaped Crafting 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 Cables, Colored 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). Red Alloy Wires will provide input signal to all sixteen channels.

Bitwise XNOR Gate with input combinations

Data

Blockstate PropertiesValuesDescription
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 DataFormatDescription
clockwise_inputintegerBitflag in wool color order where the least significant bit is white.
counterclockwise_outputintegerBitflag in wool color order where the least significant bit is white.
outputintegerBitflag in wool color order where the least significant bit is white.

History

VersionChangelog
1.21.3-7.0.0.0Power is now stored as input/output bitflags instead of sixteen output integers
2.1.1.0Added to game