public void load(CompoundTag tag) {
        ICSimulation simulation = PRFabricationEngine.instance.deserializeSimulation(tag.getString("simulation"));
        if (simulation != null) {
            this.simulation = simulation;
        }
        for (int i = 0; i < 4; i++) {
            inputs[i] = tag.getShort("in" + i);
            outputs[i] = tag.getShort("out" + i);
        }
        systemTime = tag.getLong("systemTime");
    }
Outputs from the simulation indexed by rotation (0-3).
fabrication/src/main/java/mrtjp/projectred/fabrication/engine/ICSimulationContainer.java