Package buildcraft.core.robots

Examples of buildcraft.core.robots.AIRobotGotoStationAndUnload


  public void update() {
    if (!robot.containsItems()) {
      startDelegateAI(new AIRobotGotoStationToLoad(robot, ActionRobotFilter.getGateFilter(robot
          .getLinkedStation()), robot.getZoneToWork()));
    } else {
      startDelegateAI(new AIRobotGotoStationAndUnload(robot, robot.getZoneToWork()));
    }
  }
View Full Code Here


            .getLinkedStation())));
      } else {
        loadFound = false;

        if (robot.containsItems()) {
          startDelegateAI(new AIRobotGotoStationAndUnload(robot, robot.getZoneToWork()));
        } else {
          unloadFound = false;
        }
      }
    } else if (ai instanceof AIRobotGotoStationAndUnload) {
View Full Code Here

        // if we find an item - that may have been cancelled.
        // let's try to get another one
        startDelegateAI(new AIRobotFetchItem(robot, 250, ActionRobotFilter.getGateFilter(robot
            .getLinkedStation()), robot.getZoneToWork()));
      } else if (robot.containsItems()) {
        startDelegateAI(new AIRobotGotoStationAndUnload(robot, robot.getZoneToWork()));
      } else {
        startDelegateAI(new AIRobotGotoSleep(robot));
      }
    } else if (ai instanceof AIRobotGotoStationAndUnload) {
      if (!ai.success()) {
View Full Code Here

TOP

Related Classes of buildcraft.core.robots.AIRobotGotoStationAndUnload

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.