Skip to content
All circuits
BasicsTricky

XOR gate

Two comparators in subtract mode: each gets its own input from behind and the other input from the side. With exactly one input on, one comparator outputs; with both on, both subtract to 0. The classic for a light you switch from two places.

Load it in single player

  1. Copy the .nbt file to <world>/generated/minecraft/structures/ (create the folders if needed).
  2. Place a structure block (/give @s structure_block) and set it to “Load”.
  3. Enter the file name without .nbt as the structure name, press “Load” twice.

Open the circuit library in the Cubiq Client (Redstone tools → Circuits). Place a circuit as a ghost template, build it layer by layer and let the client check every block. New circuits arrive without a mod update.