NXOR Gate

NXOR Gate
Stackable
Yes(64)

Overview

The NXOR Gate (Not Exclusive OR Gate, Exclusive NOR Gate, XNOR) is a Digital Gate that outputs a Redstone signal of 0 if exactly one of its input pins receives a Redstone signal greater than 0. Otherwise, it outputs 15. This logic makes it an essential gate for circuits that rely on inclusive decision-making.

Boolean Logic Table

The XOR Gate operates according to the following Boolean logic table:

Input AInput BOutput
001
100
010
111

Configuration

Pin Marks A denote the inputs of the gate. They can be configured to face any direction on right-click.

Parallel XOR Gate
Stackable
Yes(64)

Parallel NXOR Gate

The NXOR Gate also has a Parallel Gate version, which is used in parallel circuit designs. Unlike the standard NXOR Gate, the Parallel Gate version does not allow input configuration because its logic relies on fixed input arrangements.

The Boolean logic table for the Parallel NXOR Gate is as follows:

LeftBackRightOutput
0001
1000
0100
1101
0010
1010
0111
1111

Crafting

Normal NXOR Gate

Parallel NXOR Gate

Version Log

VersionDescription
0.0.0Introduced. On update from anywhere reads redstone signal only and updates neighbours when output changes.
0.0.1Unlike in the previous version, block first reads the blockstate on the input, and if suitable, uses blockstate value, if not, reads redstone signal.
0.1.1Changed registry name from nxor to floor_nxor and paralel_nxor to floor_parallel_nxor. Replaced bottom texture from being that on the top to Smooth Stone Block.
0.2.0Changed registry name from floor_nxor to normal_nxor and floor_parallel_nxor to parallel_nxor. Can be placed on walls and ceiling. Updates the block on the output when output changes instead of updating all neighbours. Output data is stored on Block Entity. Lost `rotate` and `mirror` block methods..
0.2.1Reimplemented `rotate` block method.