Minecraft has a feature called redstone. It's "dust" that you can pour on blocks to create wires. These wires can be powered from in-game items. Combining two or more of these powered wires with some spatial positioning can give you an OR gate. Some of these power sources can be turned off if they receive power themselves. Those are NOT gates. With an OR and a NOT gate, the world's your oyster.