Package buildcraft.core.robots

Examples of buildcraft.core.robots.AIRobotLoad


  @Override
  public void delegateAIEnded(AIRobot ai) {
    if (ai instanceof AIRobotGotoStationToLoad) {
      if (ai.success()) {
        loadFound = true;
        startDelegateAI(new AIRobotLoad(robot, ActionRobotFilter.getGateFilter(robot
            .getLinkedStation())));
      } else {
        loadFound = false;

        if (robot.containsItems()) {
View Full Code Here


  }

  @Override
  public void delegateAIEnded(AIRobot ai) {
    if (ai instanceof AIRobotGotoStationToLoad) {
      startDelegateAI(new AIRobotLoad(robot, TNT_FILTER));
    } else if (ai instanceof AIRobotSearchRandomGroundBlock) {
      AIRobotSearchRandomGroundBlock aiFind = (AIRobotSearchRandomGroundBlock) ai;

      startDelegateAI(new AIRobotGotoBlock(robot, aiFind.blockFound.x, aiFind.blockFound.y + flyingHeight,
          aiFind.blockFound.z));
View Full Code Here

  @Override
  public void delegateAIEnded(AIRobot ai) {
    if (ai instanceof AIRobotGotoStationToLoad) {
      if (ai.success()) {
        startDelegateAI(new AIRobotLoad(robot, new ArrayStackFilter(requirementsToLookFor.getFirst()),
            requirementsToLookFor.getFirst().stackSize));
      } else {
        startDelegateAI(new AIRobotGotoSleep(robot));
      }
    } else if (ai instanceof AIRobotLoad) {
View Full Code Here

TOP

Related Classes of buildcraft.core.robots.AIRobotLoad

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.