Package buildcraft.core.robots

Examples of buildcraft.core.robots.AIRobotGotoStationAndUnloadFluids


  }

  @Override
  public void delegateAIEnded(AIRobot ai) {
    if (ai instanceof AIRobotGotoStationAndLoadFluids) {
      startDelegateAI(new AIRobotGotoStationAndUnloadFluids(robot, robot.getZoneToWork()));
    } else if (ai instanceof AIRobotGotoStationAndUnloadFluids) {
      if (!ai.success()) {
        startDelegateAI(new AIRobotGotoSleep(robot));
      }
    }
View Full Code Here


  @Override
  public void update() {
    FluidStack tank = robot.getTankInfo(ForgeDirection.UNKNOWN)[0].fluid;

    if (tank != null && tank.amount > 0) {
      startDelegateAI(new AIRobotGotoStationAndUnloadFluids(robot, robot.getZoneToWork()));
    } else {
      updateFilter();

      startDelegateAI(new AIRobotSearchBlock(robot, new IBlockFilter() {
View Full Code Here

TOP

Related Classes of buildcraft.core.robots.AIRobotGotoStationAndUnloadFluids

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.