Package buildcraft.api.statements

Examples of buildcraft.api.statements.IStatement.rotateLeft()


        gateNBT.setString("trigger[" + i + "]", t.getUniqueTag());
      }

      if (gateNBT.hasKey("action[" + i + "]")) {
        IStatement a = StatementManager.statements.get(gateNBT.getString("action[" + i + "]"));
        a = a.rotateLeft();
        gateNBT.setString("action[" + i + "]", a.getUniqueTag());
      }
     
      for (int j = 0; j < Gate.MAX_PARAMETERS; ++j) {
        if (gateNBT.hasKey("triggerParameters[" + i + "][" + j + "]")) {
View Full Code Here


  private void rotateGateLeft(NBTTagCompound gateNBT) {
    for (int i = 0; i < Gate.MAX_STATEMENTS; ++i) {
      if (gateNBT.hasKey("trigger[" + i + "]")) {
        IStatement t = StatementManager.statements.get(gateNBT.getString("trigger[" + i + "]"));
        t = t.rotateLeft();
        gateNBT.setString("trigger[" + i + "]", t.getUniqueTag());
      }

      if (gateNBT.hasKey("action[" + i + "]")) {
        IStatement a = StatementManager.statements.get(gateNBT.getString("action[" + i + "]"));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.