Examples of AIRobotSearchRandomGroundBlock


Examples of buildcraft.core.robots.AIRobotSearchRandomGroundBlock

    }

    if (!containItems) {
      startDelegateAI(new AIRobotGotoStationToLoad(robot, TNT_FILTER, null));
    } else {
      startDelegateAI(new AIRobotSearchRandomGroundBlock(robot, 100, new IBlockFilter() {
        @Override
        public boolean matches(World world, int x, int y, int z) {
          return y < world.getActualHeight() - flyingHeight && !world.isAirBlock(x, y, z);
        }
      }, robot.getZoneToWork()));
View Full Code Here

Examples of buildcraft.core.robots.AIRobotSearchRandomGroundBlock

  @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));
    } else if (ai instanceof AIRobotGotoBlock) {
      ITransactor t = Transactor.getTransactorFor(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.