Package buildcraft.transport.gates

Examples of buildcraft.transport.gates.ActionIterator


    for (IInvSlot robotSlot : InventoryIterator.getIterable(robot, ForgeDirection.UNKNOWN)) {
      if (robotSlot.getStackInSlot() == null) {
        continue;
      }

      for (StatementSlot s : new ActionIterator(pipe)) {
        if (s.statement instanceof ActionStationInputItems) {
          if (((ActionStationInputItems) s.statement)
              .insert(station, (EntityRobot) robot, s, robotSlot, true)) {

            delivered = true;
View Full Code Here


    super(iRobot);
  }

  @Override
  public void preempt(AIRobot ai) {
    for (StatementSlot s : new ActionIterator(((DockingStation) robot.getLinkedStation()).getPipe().pipe)) {
      if (s.statement instanceof ActionRobotWakeUp) {
        terminate();
      }
    }
  }
View Full Code Here

TOP

Related Classes of buildcraft.transport.gates.ActionIterator

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.