Redstonery
RedstoneryCircuits › Isolated OR branches
Signal circuit

Isolated OR branches

Keep a branch from driving backward into its source.

6 × 3 footprint1 layer11 blocksTested in 4 rotationsJava Edition 26.2
Open in the simulatorBuild it in the game

Layout

Layer 0 (on the floor)
lever [face=floor, facing=north, powered=false] at x 0, z 0redstone dust at x 1, z 0repeater [facing=west, delay=1] at x 2, z 0redstone dust at x 3, z 0redstone dust at x 4, z 0redstone lamp at x 5, z 0lever [face=floor, facing=north, powered=false] at x 0, z 2redstone dust at x 1, z 2repeater [facing=west, delay=1] at x 2, z 2redstone dust at x 3, z 2redstone dust at x 3, z 1
redstone dustrepeater or comparatorinputlamparrows point where a device sends its output; north is up

How it works

Two repeaters merge the inputs while preventing output power from flowing back into the other input wire. Compare the unpowered input wire with the powered shared output.

  1. A repeater accepts an input from one end and drives its output at the other.
  2. Separated branches can share a decision without letting every output route directly feed the others.

Inputs and outputs

  • InputA (x 0, y 0, z 0)
  • InputB (x 0, y 0, z 2)
  • Outputisolated A or B (x 4, y 0, z 0)

Blocks you need

6 × redstone dust, 2 × lever, 2 × repeater, 1 × redstone lamp.

Build it in the game: 11 commands

Relative to where you stand, with x running east and z running south. Paste one line at a time into chat, or into a chain of command blocks. The block art is the game's own; the layout is what the page above shows.

setblock ~0 ~0 ~0 minecraft:lever[face=floor,facing=north,powered=false]
setblock ~1 ~0 ~0 minecraft:redstone_wire
setblock ~2 ~0 ~0 minecraft:repeater[facing=west,delay=1]
setblock ~3 ~0 ~0 minecraft:redstone_wire
setblock ~4 ~0 ~0 minecraft:redstone_wire
setblock ~5 ~0 ~0 minecraft:redstone_lamp
setblock ~0 ~0 ~2 minecraft:lever[face=floor,facing=north,powered=false]
setblock ~1 ~0 ~2 minecraft:redstone_wire
setblock ~2 ~0 ~2 minecraft:repeater[facing=west,delay=1]
setblock ~3 ~0 ~2 minecraft:redstone_wire
setblock ~3 ~0 ~1 minecraft:redstone_wire