if (filteredFilter.size() > 0) {
ArrayStackFilter arrayFilter = new ArrayStackOrListFilter(
filteredFilter.toArray(new ItemStack[filteredFilter.size()]));
startDelegateAI(new AIRobotFetchAndEquipItemStack(robot, arrayFilter));
} else {
startDelegateAI(new AIRobotGotoSleep(robot));
}
} else {
startDelegateAI(new AIRobotFetchAndEquipItemStack(robot, stackFilter));
}
} else {
if (robot.getHeldItem().getItem() instanceof ItemSeeds) {
startDelegateAI(new AIRobotSearchBlock(robot, new IBlockFilter() {
@Override