Something like this is our goal:

Source
Note that those gates work in minecraft but don't work in minetest-mesecons and that's the reason for this project.
The torch AND gate

The torch DIODE

The torch XOR gate

Also there is a more efficient version using plugs

scheme by Temperest
The torch NAND gate



