Examples of AIRobotFetchItem


Examples of buildcraft.core.robots.AIRobotFetchItem

    data = nbt;
  }

  @Override
  public void update() {
    startDelegateAI(new AIRobotFetchItem(robot, 250, ActionRobotFilter.getGateFilter(robot
        .getLinkedStation()), robot.getZoneToWork()));
  }
View Full Code Here

Examples of buildcraft.core.robots.AIRobotFetchItem

  }

  @Override
  public void delegateAIEnded(AIRobot ai) {
    if (ai instanceof AIRobotFetchItem) {
      AIRobotFetchItem fetching = (AIRobotFetchItem) ai;

      if (fetching.itemPickupCancelled || fetching.target != null) {
        // 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));
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.