Minecraft – How to create a “master” switch with redstone

minecraft-java-editionminecraft-redstone

How can I create a "master" switch with sub-switches all connected to the master switch? When then master switch is turned on, it allows power to go to all the sub-switch (when the sub-switches are on). When a sub-switch is turned off, its output cannot receive power.

Best Answer

It sounds like you want a lot of AND gates (sub-switches) with one common input (the master switch) in each gate.

enter image description here Note: The piston is just an example of an output device.

Try constructing one AND gate for each sub-switch and connecting all the "A" inputs to a single lever and each "B" input to its own lever.

When connected properly, each AND gate will not be able to output power unless both the master switch is on and its corresponding sub-switch is on.

enter image description here

Be aware that redstone signals will only travel 15 blocks. A repeater can be used to extend this.