I've been working on this for a a while, and can't figure it out. Is there a logic circuit that will only be on if one of the two inputs is on, but a specific input?

So if A is the input I want to focus on, if A is on and B is off, then the output is on. Otherwise, the output is off. If it helps, I am trying to make prisoner's dilemma.

  • Could you please return the question to it's previous state and add the solution as an answer? I, for example, couldn't figure out how to do this, and some others too. It would help future visitors - 90% of Arqade's trafic is from Google.
    – user143228
    Commented Oct 30, 2016 at 19:35
  • 1
    I put it back and said how I did it
    – Ben
    Commented Oct 30, 2016 at 19:37
  • Is (A and not B) the only input you want that results in the output being on?
    – Leon7C
    Commented Nov 1, 2016 at 21:02
  • Yes, that's the only thing that I want the output to be on for
    – Ben
    Commented Nov 1, 2016 at 21:05

2 Answers 2


I figured it out, just put a piston connected to B that would interrupt a when B was on, and had A lead to the output. Here is how to make it:

Redstone circuit as described above


Place 3 blocks in a row. On the leftmost block, put a lever on the side facing you, and a redstone torch on top. On the other two blocks, place redstone on top and a lever on the rightmost block, again on the side facing you. On the other side, place a torch facing away on the middle block, which will be your output. The lamps are aesthetics, not necessary.

  • By the way this circuit takes up to 2 ticks, or .2 seconds.
    – I. Golsby
    Commented Nov 26, 2016 at 23:48
  • Also, if you want it to turn on when only B is on, just reverse it horizontally, or just relabel it so that B is on the left.
    – I. Golsby
    Commented Nov 27, 2016 at 16:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .