# Logic gate: A XOR B (one, not both) ยท 15 blocks # https://vjeux.github.io/redstonepedia/circuits/gates/gate-xor.html name: gate-xor circuit: gate xor port input.a: 0 0 0 port input.b: 1 0 1 port output: 2 1 0 origin: -1 0 0 palette: S minecraft:stone C minecraft:comparator[facing=west,mode=subtract,powered=false] K minecraft:comparator[facing=east,mode=subtract,powered=false] d minecraft:redstone_wire[east=side,north=side,power=0,south=side,west=side] layer 0: ..S. .S.. layer 1: SdC. SKd. layer 2: dSSd d... layer 3: .dd. ....