containItems = true;
}
}
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);