public int setInputs(short[] inputs) {

        int changeMask = 0;
        for (int r = 0; r < 4; r++) {
            if (this.inputs[r] != inputs[r]) {
                this.inputs[r]  = inputs[r];
                changeMask |= 1 << r;
            }
        }

        return changeMask;
    }
Outputs from the simulation indexed by rotation (0-3).
fabrication/src/main/java/mrtjp/projectred/fabrication/engine/ICSimulationContainer.java