protected void sendStateUpdate() {
        sendUpdate(KEY_STATE, p -> p.writeByte(gateState));
    }
Mapped inputs and outputs of the gate.
OOOO IIII
High nybble is output.
Low nybble is input
integration/src/main/java/mrtjp/projectred/integration/part/RedstoneGatePart.java