comparator: XOR & (extremely compact) AND logic gates and analog signal adapter - Redstone Discussion and Mechanisms - Minecraft: Java Edition - Minecraft Forum - Minecraft Forum
Redstone: Repeater and Comparators | Minecraft 101
For the people who don't understand the Redstone Comparator in 13w01b : r/ Minecraft