XOR Gate

XOR Gate

morered:xor_gate
morered:xor_gate
Source modMore Red
IDmorered:xor_gate
TypeBlock
StackableYes (64)
Blast resistance0
Hardness0
FlammableNo

The XOR Gate is a block that outputs maximum-strength redstone power from its output side while one (but not both) of its input sides is receiving redstone power.

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

Recipes

Recipe TypeIngredientsOutputExample
Shaped Crafting
  • 1x XOR Gate

Shaped Crafting Recipe for XOR Gates

Soldering
  • 1x XOR Gate

Shaped Crafting Recipe for XOR Gates

Usage

The XOR 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.

A preview of an XOR Gate about to be placed against a wall with the output facing up

The sprint key can be held while placing the block to change the axis of rotation.

While one (but not both) of the XOR Gate's input sides is receiving power, the XOR Gate outputs redstone power at maximum strength. While neither or both of the input sides are powered, the XOR Gate does not output power.

XOR Gates in all four 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
input_a{false, true}Whether the input side clockwise from the output is receiving power
input_c{false, true}Whether the input side counterclockwise from the output is receiving power
waterlogged{false, true}Whether the block is waterlogged
Tint IndexTint Value
1+See Logic Gate Tintindexes

History

VersionChangelog
1.21.8-8.0.0.0
  • Added waterlogged blockstate property property
  • Can now hold sprint while placing to change the axis of rotation
1.16.3-2.0.0.0More Red recipes now use tag ingredients instead of specific items in more places
1.0.0.0Added to game