- This page is about the XOR Gate added by InfraRedstone. For other uses, see .
The XOR Gate is a block added by InfraRedstone. It has 2 input sides and one output side. Each input side can receive any Infra-Redstone signal or a normal Redstone signal which is treated as a 1 (000001). The gate outputs a signal which is the bitwise XOR of both of its inputs. For example, an input of 45 (101101) and an input of 10 (001010) makes an output of 38 (100110).
The torch on the output side can be lowered by right-clicking on it; when lowered, the gate switches to boolean mode. In this state, it outputs a signal of 1 (000001) if exactly one of the two inputs is receiving a non zero signal, and a signal of 0 (000000) otherwise.