Package forestry.api.circuits

Examples of forestry.api.circuits.ICircuit


      return;

    for (int i = 0; i < 4; i++) {
      if (!nbttagcompound.hasKey("CA.I" + i))
        continue;
      ICircuit circuit = ChipsetManager.circuitRegistry.getCircuit(nbttagcompound.getString("CA.I" + i));
      if (circuit != null)
        readcircuits.add(circuit);
    }
    circuits = readcircuits.toArray(new ICircuit[readcircuits.size()]);
  }
View Full Code Here


    if (layout != null)
      nbttagcompound.setString("LY", layout.getUID());

    // Circuits
    for (int i = 0; i < circuits.length; i++) {
      ICircuit circuit = circuits[i];
      if (circuit == null)
        continue;

      nbttagcompound.setString("CA.I" + i, circuit.getUID());
    }

  }
View Full Code Here

TOP

Related Classes of forestry.api.circuits.ICircuit

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.