Which logic gate do i need?

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here

Phantomizer

New Member
Jul 29, 2019
25
0
0
Very stupid question, because i did this once already, but i can't for the life of me figure it out now. I want to operate a set of 4 sticky pistons with 2 levers, essentially i want both levers to turn them on/off regardless of whether one or both levers are on (if that makes any sense).

Which gate do i need?
 

MinePlayer

New Member
Jul 29, 2019
19
0
0
It's XOR. That will change the state of the pistons regardless of the previous state of both levers. OR will not change the state if one the levers is on and you turn the other on.
 

Whovian

New Member
Jul 29, 2019
1,181
0
1
Yep, XOR. I would've thought to use a few Pulse Formers with a few NOT gates (AKA Redstone Torches,) but XOR definitely works more simply.