Examples of AIRobotRecharge


Examples of buildcraft.core.robots.AIRobotRecharge

        // prepare the slot.
        markerToBuild.bluePrintBuilder.useRequirements(robot, currentBuildingSlot);
      }

      if (robot.getEnergy() - currentBuildingSlot.getEnergyRequirement() < EntityRobotBase.SAFETY_ENERGY) {
        startDelegateAI(new AIRobotRecharge(robot));
      } else {
        startDelegateAI(new AIRobotGotoBlock(robot,
          (int) currentBuildingSlot.getDestination().x,
          (int) currentBuildingSlot.getDestination().y,
          (int) currentBuildingSlot.getDestination().z,
View Full Code Here

Examples of buildcraft.core.robots.AIRobotRecharge

        // defensive code, in case of a wrong load from NBT
        return;
      }

      if (robot.getEnergy() - currentBuildingSlot.getEnergyRequirement() < EntityRobotBase.SAFETY_ENERGY) {
        startDelegateAI(new AIRobotRecharge(robot));
        return;
      }

      robot.getBattery().extractEnergy(currentBuildingSlot.getEnergyRequirement(), false);
      launchingDelay = currentBuildingSlot.getStacksToDisplay().size() * BuildingItem.ITEMS_SPACE;
 
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.