use of buildcraft.robotics.ai.AIRobotGotoStationAndUnload in project BuildCraft by BuildCraft.
the class BoardRobotCarrier method update.
@Override
public void update() {
if (!robot.containsItems()) {
IStackFilter filter = ActionRobotFilter.getGateFilter(robot.getLinkedStation());
startDelegateAI(new AIRobotGotoStationAndLoad(robot, filter, AIRobotLoad.ANY_QUANTITY));
} else {
startDelegateAI(new AIRobotGotoStationAndUnload(robot));
}
}
Aggregations