make robots store energy in the ItemStack, make robots chargeable, begin refactoring rboots to separate module
This commit is contained in:
parent
1015627d07
commit
f0e06e1662
120 changed files with 404 additions and 328 deletions
|
@ -97,7 +97,7 @@ import buildcraft.core.recipes.AssemblyRecipeManager;
|
|||
import buildcraft.core.recipes.IntegrationRecipeManager;
|
||||
import buildcraft.core.recipes.RefineryRecipeManager;
|
||||
import buildcraft.core.render.BlockHighlightHandler;
|
||||
import buildcraft.core.robots.EntityRobot;
|
||||
import buildcraft.robots.EntityRobot;
|
||||
import buildcraft.core.statements.ActionMachineControl;
|
||||
import buildcraft.core.statements.ActionRedstoneOutput;
|
||||
import buildcraft.core.statements.DefaultActionProvider;
|
||||
|
|
|
@ -42,28 +42,28 @@ import buildcraft.compat.CompatHooks;
|
|||
import buildcraft.core.DefaultProps;
|
||||
import buildcraft.core.InterModComms;
|
||||
import buildcraft.core.ItemBuildCraft;
|
||||
import buildcraft.core.ItemRobot;
|
||||
import buildcraft.robots.ItemRobot;
|
||||
import buildcraft.core.Version;
|
||||
import buildcraft.core.network.BuildCraftChannelHandler;
|
||||
import buildcraft.core.proxy.CoreProxy;
|
||||
import buildcraft.core.robots.RobotIntegrationRecipe;
|
||||
import buildcraft.core.robots.boards.BoardRobotBomberNBT;
|
||||
import buildcraft.core.robots.boards.BoardRobotBuilderNBT;
|
||||
import buildcraft.core.robots.boards.BoardRobotButcherNBT;
|
||||
import buildcraft.core.robots.boards.BoardRobotCarrierNBT;
|
||||
import buildcraft.core.robots.boards.BoardRobotCrafterNBT;
|
||||
import buildcraft.core.robots.boards.BoardRobotDeliveryNBT;
|
||||
import buildcraft.core.robots.boards.BoardRobotFarmerNBT;
|
||||
import buildcraft.core.robots.boards.BoardRobotFluidCarrierNBT;
|
||||
import buildcraft.core.robots.boards.BoardRobotHarvesterNBT;
|
||||
import buildcraft.core.robots.boards.BoardRobotKnightNBT;
|
||||
import buildcraft.core.robots.boards.BoardRobotLeaveCutterNBT;
|
||||
import buildcraft.core.robots.boards.BoardRobotLumberjackNBT;
|
||||
import buildcraft.core.robots.boards.BoardRobotMinerNBT;
|
||||
import buildcraft.core.robots.boards.BoardRobotPickerNBT;
|
||||
import buildcraft.core.robots.boards.BoardRobotPlanterNBT;
|
||||
import buildcraft.core.robots.boards.BoardRobotPumpNBT;
|
||||
import buildcraft.core.robots.boards.BoardRobotShovelmanNBT;
|
||||
import buildcraft.robots.RobotIntegrationRecipe;
|
||||
import buildcraft.robots.boards.BoardRobotBomberNBT;
|
||||
import buildcraft.robots.boards.BoardRobotBuilderNBT;
|
||||
import buildcraft.robots.boards.BoardRobotButcherNBT;
|
||||
import buildcraft.robots.boards.BoardRobotCarrierNBT;
|
||||
import buildcraft.robots.boards.BoardRobotCrafterNBT;
|
||||
import buildcraft.robots.boards.BoardRobotDeliveryNBT;
|
||||
import buildcraft.robots.boards.BoardRobotFarmerNBT;
|
||||
import buildcraft.robots.boards.BoardRobotFluidCarrierNBT;
|
||||
import buildcraft.robots.boards.BoardRobotHarvesterNBT;
|
||||
import buildcraft.robots.boards.BoardRobotKnightNBT;
|
||||
import buildcraft.robots.boards.BoardRobotLeaveCutterNBT;
|
||||
import buildcraft.robots.boards.BoardRobotLumberjackNBT;
|
||||
import buildcraft.robots.boards.BoardRobotMinerNBT;
|
||||
import buildcraft.robots.boards.BoardRobotPickerNBT;
|
||||
import buildcraft.robots.boards.BoardRobotPlanterNBT;
|
||||
import buildcraft.robots.boards.BoardRobotPumpNBT;
|
||||
import buildcraft.robots.boards.BoardRobotShovelmanNBT;
|
||||
import buildcraft.silicon.BlockLaser;
|
||||
import buildcraft.silicon.BlockLaserTable;
|
||||
import buildcraft.silicon.GuiHandler;
|
||||
|
@ -80,22 +80,22 @@ import buildcraft.silicon.TileLaser;
|
|||
import buildcraft.silicon.boards.BoardRecipe;
|
||||
import buildcraft.silicon.boards.ImplRedstoneBoardRegistry;
|
||||
import buildcraft.silicon.network.PacketHandlerSilicon;
|
||||
import buildcraft.silicon.statements.ActionRobotFilter;
|
||||
import buildcraft.silicon.statements.ActionRobotGotoStation;
|
||||
import buildcraft.silicon.statements.ActionRobotWakeUp;
|
||||
import buildcraft.silicon.statements.ActionRobotWorkInArea;
|
||||
import buildcraft.silicon.statements.ActionStationAcceptFluids;
|
||||
import buildcraft.silicon.statements.ActionStationAcceptItemsInv;
|
||||
import buildcraft.silicon.statements.ActionStationAcceptItemsPipe;
|
||||
import buildcraft.silicon.statements.ActionStationAllowCraft;
|
||||
import buildcraft.silicon.statements.ActionStationForbidRobot;
|
||||
import buildcraft.silicon.statements.ActionStationProvideFluids;
|
||||
import buildcraft.silicon.statements.ActionStationProvideItems;
|
||||
import buildcraft.silicon.statements.ActionStationRequestItems;
|
||||
import buildcraft.silicon.statements.ActionStationRequestItemsMachine;
|
||||
import buildcraft.silicon.statements.RobotsActionProvider;
|
||||
import buildcraft.silicon.statements.RobotsTriggerProvider;
|
||||
import buildcraft.silicon.statements.TriggerRobotSleep;
|
||||
import buildcraft.robots.statements.ActionRobotFilter;
|
||||
import buildcraft.robots.statements.ActionRobotGotoStation;
|
||||
import buildcraft.robots.statements.ActionRobotWakeUp;
|
||||
import buildcraft.robots.statements.ActionRobotWorkInArea;
|
||||
import buildcraft.robots.statements.ActionStationAcceptFluids;
|
||||
import buildcraft.robots.statements.ActionStationAcceptItemsInv;
|
||||
import buildcraft.robots.statements.ActionStationAcceptItemsPipe;
|
||||
import buildcraft.robots.statements.ActionStationAllowCraft;
|
||||
import buildcraft.robots.statements.ActionStationForbidRobot;
|
||||
import buildcraft.robots.statements.ActionStationProvideFluids;
|
||||
import buildcraft.robots.statements.ActionStationProvideItems;
|
||||
import buildcraft.robots.statements.ActionStationRequestItems;
|
||||
import buildcraft.robots.statements.ActionStationRequestItemsMachine;
|
||||
import buildcraft.robots.statements.RobotsActionProvider;
|
||||
import buildcraft.robots.statements.RobotsTriggerProvider;
|
||||
import buildcraft.robots.statements.TriggerRobotSleep;
|
||||
|
||||
@Mod(name = "BuildCraft Silicon", version = Version.VERSION, useMetadata = false, modid = "BuildCraft|Silicon", dependencies = DefaultProps.DEPENDENCY_TRANSPORT)
|
||||
public class BuildCraftSilicon extends BuildCraftMod {
|
||||
|
|
|
@ -120,10 +120,10 @@ import buildcraft.transport.pipes.PipePowerWood;
|
|||
import buildcraft.transport.pipes.PipeStructureCobblestone;
|
||||
import buildcraft.transport.pluggable.ItemLens;
|
||||
import buildcraft.transport.pluggable.ItemPlug;
|
||||
import buildcraft.transport.pluggable.ItemRobotStation;
|
||||
import buildcraft.robots.ItemRobotStation;
|
||||
import buildcraft.transport.pluggable.LensPluggable;
|
||||
import buildcraft.transport.pluggable.PlugPluggable;
|
||||
import buildcraft.transport.pluggable.RobotStationPluggable;
|
||||
import buildcraft.robots.RobotStationPluggable;
|
||||
import buildcraft.transport.recipes.AdvancedFacadeRecipe;
|
||||
import buildcraft.transport.recipes.GateExpansionRecipe;
|
||||
import buildcraft.transport.recipes.GateLogicSwapRecipe;
|
||||
|
|
|
@ -64,8 +64,8 @@ import buildcraft.core.inventory.Transactor;
|
|||
import buildcraft.core.network.BuildCraftPacket;
|
||||
import buildcraft.core.network.CommandWriter;
|
||||
import buildcraft.core.network.PacketCommand;
|
||||
import buildcraft.core.robots.ResourceIdRequest;
|
||||
import buildcraft.core.robots.RobotRegistry;
|
||||
import buildcraft.robots.ResourceIdRequest;
|
||||
import buildcraft.robots.RobotRegistry;
|
||||
import buildcraft.core.utils.Utils;
|
||||
|
||||
public class TileBuilder extends TileAbstractBuilder implements IHasWork, IFluidHandler, IRequestProvider, IControllable {
|
||||
|
|
|
@ -27,8 +27,8 @@ import buildcraft.core.inventory.StackHelper;
|
|||
import buildcraft.core.network.CommandWriter;
|
||||
import buildcraft.core.network.ICommandReceiver;
|
||||
import buildcraft.core.network.PacketCommand;
|
||||
import buildcraft.core.robots.ResourceIdRequest;
|
||||
import buildcraft.core.robots.RobotRegistry;
|
||||
import buildcraft.robots.ResourceIdRequest;
|
||||
import buildcraft.robots.RobotRegistry;
|
||||
import buildcraft.core.utils.Utils;
|
||||
|
||||
public class TileRequester extends TileBuildCraft implements IInventory, IRequestProvider, ICommandReceiver {
|
||||
|
|
|
@ -34,10 +34,10 @@ import buildcraft.BuildCraftSilicon;
|
|||
import buildcraft.core.EntityBlock;
|
||||
import buildcraft.core.LaserKind;
|
||||
import buildcraft.core.render.RenderEntityBlock;
|
||||
import buildcraft.core.render.RenderRobot;
|
||||
import buildcraft.robots.render.RenderRobot;
|
||||
import buildcraft.core.render.RenderingEntityBlocks;
|
||||
import buildcraft.core.render.RenderingMarkers;
|
||||
import buildcraft.core.robots.EntityRobot;
|
||||
import buildcraft.robots.EntityRobot;
|
||||
import buildcraft.transport.render.TileEntityPickupFX;
|
||||
|
||||
public class CoreProxyClient extends CoreProxy {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.core.utils;
|
||||
|
||||
import net.minecraft.world.World;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.core.utils;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
|
|
@ -17,7 +17,6 @@ import net.minecraft.world.World;
|
|||
import buildcraft.api.core.BlockIndex;
|
||||
import buildcraft.api.core.BuildCraftAPI;
|
||||
import buildcraft.api.core.IZone;
|
||||
import buildcraft.core.robots.IBlockFilter;
|
||||
|
||||
/**
|
||||
* This class implements a 3D path finding based on the A* algorithm, following
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots;
|
||||
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.WeakHashMap;
|
||||
|
@ -61,7 +61,8 @@ import buildcraft.core.network.ICommandReceiver;
|
|||
import buildcraft.core.network.PacketCommand;
|
||||
import buildcraft.core.utils.NBTUtils;
|
||||
import buildcraft.core.utils.Utils;
|
||||
import buildcraft.silicon.statements.ActionRobotWorkInArea;
|
||||
import buildcraft.robots.ai.AIRobotMain;
|
||||
import buildcraft.robots.statements.ActionRobotWorkInArea;
|
||||
import buildcraft.transport.gates.ActionIterator;
|
||||
import buildcraft.transport.gates.StatementSlot;
|
||||
|
||||
|
@ -321,7 +322,7 @@ public class EntityRobot extends EntityRobotBase implements
|
|||
}
|
||||
@SideOnly(Side.CLIENT)
|
||||
private void spawnEnergyFX() {
|
||||
Minecraft.getMinecraft().effectRenderer.addEffect(new EntityRobotEnergyFX(
|
||||
Minecraft.getMinecraft().effectRenderer.addEffect(new EntityRobotEnergyParticle(
|
||||
worldObj,
|
||||
posX + steamDx * 0.25, posY + steamDy * 0.25, posZ + steamDz * 0.25,
|
||||
steamDx * 0.05, steamDy * 0.05, steamDz * 0.05,
|
||||
|
@ -941,6 +942,7 @@ public class EntityRobot extends EntityRobotBase implements
|
|||
|
||||
ItemStack robotStack = new ItemStack (BuildCraftSilicon.robotItem);
|
||||
NBTUtils.getItemData(robotStack).setTag("board", originalBoardNBT);
|
||||
NBTUtils.getItemData(robotStack).setInteger("energy", battery.getEnergyStored());
|
||||
entityDropItem(robotStack, 0);
|
||||
|
||||
getRegistry().killRobot(this);
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots;
|
||||
|
||||
import net.minecraft.client.particle.EntityFX;
|
||||
import net.minecraft.client.renderer.Tessellator;
|
||||
|
@ -16,18 +16,18 @@ import cpw.mods.fml.relauncher.Side;
|
|||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class EntityRobotEnergyFX extends EntityFX {
|
||||
public class EntityRobotEnergyParticle extends EntityFX {
|
||||
private float smokeParticleScale;
|
||||
|
||||
public EntityRobotEnergyFX(World world, double x, double y, double z,
|
||||
double vx,
|
||||
double vy, double vz) {
|
||||
public EntityRobotEnergyParticle(World world, double x, double y, double z,
|
||||
double vx,
|
||||
double vy, double vz) {
|
||||
this(world, x, y, z, vx, vy, vz, 1.0F);
|
||||
}
|
||||
|
||||
public EntityRobotEnergyFX(World world, double x, double y, double z,
|
||||
double vx,
|
||||
double vy, double vz, float size) {
|
||||
public EntityRobotEnergyParticle(World world, double x, double y, double z,
|
||||
double vx,
|
||||
double vy, double vz, float size) {
|
||||
super(world, x, y, z, vx, vy, vz);
|
||||
this.motionX *= 0.10000000149011612D;
|
||||
this.motionY *= 0.10000000149011612D;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots;
|
||||
|
||||
public interface IStationFilter {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core;
|
||||
package buildcraft.robots;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -22,14 +22,18 @@ import net.minecraft.world.World;
|
|||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
import cofh.api.energy.IEnergyContainerItem;
|
||||
import buildcraft.BuildCraftSilicon;
|
||||
import buildcraft.api.boards.RedstoneBoardNBT;
|
||||
import buildcraft.api.boards.RedstoneBoardRegistry;
|
||||
import buildcraft.api.boards.RedstoneBoardRobotNBT;
|
||||
import buildcraft.core.robots.EntityRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.CreativeTabBuildCraft;
|
||||
import buildcraft.core.ItemBuildCraft;
|
||||
import buildcraft.robots.EntityRobot;
|
||||
import buildcraft.core.utils.NBTUtils;
|
||||
|
||||
public class ItemRobot extends ItemBuildCraft {
|
||||
public class ItemRobot extends ItemBuildCraft implements IEnergyContainerItem {
|
||||
|
||||
public ItemRobot() {
|
||||
super(CreativeTabBuildCraft.BOARDS);
|
||||
|
@ -41,6 +45,7 @@ public class ItemRobot extends ItemBuildCraft {
|
|||
|
||||
NBTTagCompound boardCpt = nbt.getCompoundTag("board");
|
||||
EntityRobot robot = new EntityRobot(world, boardCpt);
|
||||
robot.getBattery().setEnergy(nbt.getInteger("energy"));
|
||||
|
||||
return robot;
|
||||
} catch (Throwable e) {
|
||||
|
@ -89,6 +94,9 @@ public class ItemRobot extends ItemBuildCraft {
|
|||
nbt.addInformation(stack, player, list, advanced);
|
||||
}
|
||||
}
|
||||
|
||||
int energy = NBTUtils.getItemData(stack).getInteger("energy");
|
||||
list.add(energy + "/" + EntityRobotBase.MAX_ENERGY + " RF");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -96,9 +104,10 @@ public class ItemRobot extends ItemBuildCraft {
|
|||
// cancels default BC icon registering
|
||||
}
|
||||
|
||||
public static ItemStack createRobotStack(ItemStack board) {
|
||||
public static ItemStack createRobotStack(ItemStack board, int energy) {
|
||||
ItemStack robot = new ItemStack(BuildCraftSilicon.robotItem);
|
||||
NBTUtils.getItemData(robot).setTag("board", NBTUtils.getItemData(board));
|
||||
NBTUtils.getItemData(robot).setInteger("energy", energy);
|
||||
|
||||
return robot;
|
||||
}
|
||||
|
@ -114,9 +123,41 @@ public class ItemRobot extends ItemBuildCraft {
|
|||
NBTTagCompound nbtData = NBTUtils.getItemData(boardStack);
|
||||
nbt.createBoard(nbtData);
|
||||
|
||||
ItemStack robotStack = createRobotStack(boardStack);
|
||||
ItemStack robotStack = createRobotStack(boardStack, 0);
|
||||
itemList.add(robotStack.copy());
|
||||
|
||||
robotStack = createRobotStack(boardStack, EntityRobotBase.MAX_ENERGY);
|
||||
itemList.add(robotStack.copy());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int receiveEnergy(ItemStack container, int maxReceive, boolean simulate) {
|
||||
int currentEnergy = container.getTagCompound().getInteger("energy");
|
||||
int energyReceived = Math.min(EntityRobotBase.MAX_ENERGY - currentEnergy, maxReceive);
|
||||
if (!simulate) {
|
||||
container.getTagCompound().setInteger("energy", currentEnergy + energyReceived);
|
||||
}
|
||||
return energyReceived;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int extractEnergy(ItemStack container, int maxExtract, boolean simulate) {
|
||||
int currentEnergy = container.getTagCompound().getInteger("energy");
|
||||
int energyExtracted = Math.min(currentEnergy, maxExtract);
|
||||
if (!simulate) {
|
||||
container.getTagCompound().setInteger("energy", currentEnergy - energyExtracted);
|
||||
}
|
||||
return energyExtracted;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getEnergyStored(ItemStack container) {
|
||||
return container.getTagCompound().getInteger("energy");
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxEnergyStored(ItemStack container) {
|
||||
return EntityRobotBase.MAX_ENERGY;
|
||||
}
|
||||
}
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.transport.pluggable;
|
||||
package buildcraft.robots;
|
||||
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots;
|
||||
|
||||
import buildcraft.api.core.BlockIndex;
|
||||
import buildcraft.api.robots.ResourceId;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
|
@ -6,13 +6,13 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import buildcraft.BuildCraftSilicon;
|
||||
import buildcraft.api.recipes.CraftingResult;
|
||||
import buildcraft.core.ItemRobot;
|
||||
import buildcraft.robots.ItemRobot;
|
||||
import buildcraft.silicon.ItemRedstoneBoard;
|
||||
import buildcraft.silicon.TileIntegrationTable;
|
||||
import buildcraft.transport.recipes.IntegrationTableRecipe;
|
||||
|
@ -39,7 +39,7 @@ public class RobotIntegrationRecipe extends IntegrationTableRecipe {
|
|||
CraftingResult<ItemStack> result = super.craft(crafter, preview, inputA, inputB);
|
||||
|
||||
if (result != null) {
|
||||
result.crafted = ItemRobot.createRobotStack(inputB);
|
||||
result.crafted = ItemRobot.createRobotStack(inputB, 0);
|
||||
|
||||
return result;
|
||||
} else {
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots;
|
||||
|
||||
import java.security.InvalidParameterException;
|
||||
import java.util.ArrayList;
|
|
@ -1,4 +1,4 @@
|
|||
package buildcraft.transport.pluggable;
|
||||
package buildcraft.robots;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
||||
|
@ -16,8 +16,6 @@ import buildcraft.api.transport.IPipeTile;
|
|||
import buildcraft.api.transport.pluggable.IPipePluggableItem;
|
||||
import buildcraft.api.transport.pluggable.IPipePluggableRenderer;
|
||||
import buildcraft.api.transport.pluggable.PipePluggable;
|
||||
import buildcraft.core.robots.DockingStation;
|
||||
import buildcraft.core.robots.RobotRegistry;
|
||||
import buildcraft.core.utils.MatrixTranformations;
|
||||
import buildcraft.transport.PipeIconProvider;
|
||||
import buildcraft.transport.TileGenericPipe;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots;
|
||||
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
|
|
@ -6,12 +6,13 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
|
||||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.robots.EntityRobot;
|
||||
|
||||
public class AIRobotAttack extends AIRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.enchantment.EnchantmentHelper;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
@ -29,10 +29,15 @@ import buildcraft.core.inventory.StackHelper;
|
|||
import buildcraft.core.inventory.Transactor;
|
||||
import buildcraft.core.inventory.filters.ArrayStackFilter;
|
||||
import buildcraft.core.inventory.filters.IStackFilter;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.robots.IStationFilter;
|
||||
import buildcraft.robots.ResourceIdAssemblyTable;
|
||||
import buildcraft.robots.ResourceIdBlock;
|
||||
import buildcraft.robots.RobotRegistry;
|
||||
import buildcraft.silicon.BlockLaserTable;
|
||||
import buildcraft.silicon.TileAssemblyTable;
|
||||
import buildcraft.silicon.statements.ActionRobotFilter;
|
||||
import buildcraft.silicon.statements.ActionStationAllowCraft;
|
||||
import buildcraft.robots.statements.ActionRobotFilter;
|
||||
import buildcraft.robots.statements.ActionStationAllowCraft;
|
||||
|
||||
public class AIRobotCraftAssemblyTable extends AIRobotCraftGeneric {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockFurnace;
|
||||
|
@ -25,8 +25,11 @@ import buildcraft.core.inventory.StackHelper;
|
|||
import buildcraft.core.inventory.Transactor;
|
||||
import buildcraft.core.inventory.filters.ArrayStackFilter;
|
||||
import buildcraft.core.inventory.filters.IStackFilter;
|
||||
import buildcraft.silicon.statements.ActionRobotFilter;
|
||||
import buildcraft.silicon.statements.ActionStationAllowCraft;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.robots.IStationFilter;
|
||||
import buildcraft.robots.ResourceIdBlock;
|
||||
import buildcraft.robots.statements.ActionRobotFilter;
|
||||
import buildcraft.robots.statements.ActionStationAllowCraft;
|
||||
|
||||
public class AIRobotCraftFurnace extends AIRobotCraftGeneric {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
@ -35,8 +35,10 @@ import buildcraft.core.inventory.Transactor;
|
|||
import buildcraft.core.inventory.filters.ArrayStackFilter;
|
||||
import buildcraft.core.inventory.filters.ArrayStackOrListFilter;
|
||||
import buildcraft.core.inventory.filters.IStackFilter;
|
||||
import buildcraft.silicon.statements.ActionRobotFilter;
|
||||
import buildcraft.silicon.statements.ActionStationAllowCraft;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.robots.IStationFilter;
|
||||
import buildcraft.robots.statements.ActionRobotFilter;
|
||||
import buildcraft.robots.statements.ActionStationAllowCraft;
|
||||
|
||||
public class AIRobotCraftWorkbench extends AIRobotCraftGeneric {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
|
@ -18,7 +18,9 @@ import buildcraft.api.robots.IRequestProvider;
|
|||
import buildcraft.api.robots.StackRequest;
|
||||
import buildcraft.core.inventory.InvUtils;
|
||||
import buildcraft.core.inventory.filters.ArrayStackOrListFilter;
|
||||
import buildcraft.silicon.statements.ActionStationRequestItemsMachine;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.robots.IStationFilter;
|
||||
import buildcraft.robots.statements.ActionStationRequestItemsMachine;
|
||||
import buildcraft.transport.Pipe;
|
||||
import buildcraft.transport.gates.ActionIterator;
|
||||
import buildcraft.transport.gates.StatementSlot;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import net.minecraft.entity.item.EntityItem;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
@ -19,6 +19,7 @@ import buildcraft.api.robots.EntityRobotBase;
|
|||
import buildcraft.core.inventory.ITransactor;
|
||||
import buildcraft.core.inventory.Transactor;
|
||||
import buildcraft.core.inventory.filters.IStackFilter;
|
||||
import buildcraft.robots.DockingStation;
|
||||
|
||||
public class AIRobotFetchAndEquipItemStack extends AIRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.item.EntityItem;
|
||||
|
@ -18,7 +18,7 @@ import buildcraft.api.robots.AIRobot;
|
|||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.inventory.TransactorSimple;
|
||||
import buildcraft.core.inventory.filters.IStackFilter;
|
||||
import buildcraft.core.robots.boards.BoardRobotPicker;
|
||||
import buildcraft.robots.boards.BoardRobotPicker;
|
||||
|
||||
public class AIRobotFetchItem extends AIRobot {
|
||||
|
|
@ -6,10 +6,11 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.robots.DockingStation;
|
||||
|
||||
public class AIRobotGoAndLinkToDock extends AIRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import java.util.LinkedList;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import java.util.LinkedList;
|
||||
|
||||
|
@ -14,6 +14,7 @@ import buildcraft.api.core.BlockIndex;
|
|||
import buildcraft.api.core.IZone;
|
||||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.utils.IBlockFilter;
|
||||
import buildcraft.core.utils.PathFinding;
|
||||
import buildcraft.core.utils.PathFindingJob;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
|
||||
|
@ -16,6 +16,7 @@ import buildcraft.api.core.BlockIndex;
|
|||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.api.robots.IDockingStation;
|
||||
import buildcraft.robots.DockingStation;
|
||||
|
||||
public class AIRobotGotoStation extends AIRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import buildcraft.api.core.IZone;
|
||||
import buildcraft.api.robots.AIRobot;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import buildcraft.api.core.IZone;
|
||||
import buildcraft.api.robots.AIRobot;
|
|
@ -6,11 +6,12 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import buildcraft.api.core.IZone;
|
||||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.robots.DockingStation;
|
||||
|
||||
public class AIRobotGotoStationAndUnload extends AIRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import buildcraft.api.core.IZone;
|
||||
import buildcraft.api.robots.AIRobot;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
@ -19,8 +19,10 @@ import buildcraft.api.robots.EntityRobotBase;
|
|||
import buildcraft.core.inventory.ITransactor;
|
||||
import buildcraft.core.inventory.Transactor;
|
||||
import buildcraft.core.inventory.filters.IStackFilter;
|
||||
import buildcraft.silicon.statements.ActionRobotFilter;
|
||||
import buildcraft.silicon.statements.ActionStationProvideItems;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.robots.IStationFilter;
|
||||
import buildcraft.robots.statements.ActionRobotFilter;
|
||||
import buildcraft.robots.statements.ActionStationProvideItems;
|
||||
|
||||
public class AIRobotGotoStationToLoad extends AIRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
|
@ -18,8 +18,10 @@ import buildcraft.api.core.IZone;
|
|||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.inventory.filters.IFluidFilter;
|
||||
import buildcraft.silicon.statements.ActionRobotFilter;
|
||||
import buildcraft.silicon.statements.ActionStationProvideFluids;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.robots.IStationFilter;
|
||||
import buildcraft.robots.statements.ActionRobotFilter;
|
||||
import buildcraft.robots.statements.ActionStationProvideFluids;
|
||||
|
||||
public class AIRobotGotoStationToLoadFluids extends AIRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
|
||||
|
@ -15,7 +15,10 @@ import buildcraft.api.core.IZone;
|
|||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.inventory.InventoryIterator;
|
||||
import buildcraft.silicon.statements.ActionStationInputItems;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.robots.EntityRobot;
|
||||
import buildcraft.robots.IStationFilter;
|
||||
import buildcraft.robots.statements.ActionStationInputItems;
|
||||
import buildcraft.transport.Pipe;
|
||||
import buildcraft.transport.gates.ActionIterator;
|
||||
import buildcraft.transport.gates.StatementSlot;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
|
@ -18,8 +18,10 @@ import buildcraft.api.core.IZone;
|
|||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.inventory.filters.SimpleFluidFilter;
|
||||
import buildcraft.silicon.statements.ActionRobotFilter;
|
||||
import buildcraft.silicon.statements.ActionStationAcceptFluids;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.robots.IStationFilter;
|
||||
import buildcraft.robots.statements.ActionRobotFilter;
|
||||
import buildcraft.robots.statements.ActionStationAcceptFluids;
|
||||
|
||||
public class AIRobotGotoStationToUnloadFluids extends AIRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
@ -21,8 +21,9 @@ import buildcraft.core.inventory.ITransactor;
|
|||
import buildcraft.core.inventory.InventoryIterator;
|
||||
import buildcraft.core.inventory.Transactor;
|
||||
import buildcraft.core.inventory.filters.IStackFilter;
|
||||
import buildcraft.silicon.statements.ActionRobotFilter;
|
||||
import buildcraft.silicon.statements.ActionStationProvideItems;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.robots.statements.ActionRobotFilter;
|
||||
import buildcraft.robots.statements.ActionStationProvideItems;
|
||||
|
||||
public class AIRobotLoad extends AIRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
|
@ -18,8 +18,9 @@ import net.minecraftforge.fluids.IFluidHandler;
|
|||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.inventory.filters.IFluidFilter;
|
||||
import buildcraft.silicon.statements.ActionRobotFilter;
|
||||
import buildcraft.silicon.statements.ActionStationProvideFluids;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.robots.statements.ActionRobotFilter;
|
||||
import buildcraft.robots.statements.ActionStationProvideFluids;
|
||||
|
||||
public class AIRobotLoadFluids extends AIRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
import net.minecraftforge.fluids.Fluid;
|
|
@ -6,11 +6,13 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.api.transport.IPipeTile;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.robots.IStationFilter;
|
||||
import buildcraft.transport.PipeTransportPower;
|
||||
|
||||
public class AIRobotRecharge extends AIRobot {
|
|
@ -6,11 +6,13 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import buildcraft.api.core.IZone;
|
||||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.robots.IStationFilter;
|
||||
|
||||
public class AIRobotSearchAndGotoStation extends AIRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import java.util.LinkedList;
|
||||
|
||||
|
@ -15,6 +15,7 @@ import net.minecraft.nbt.NBTTagCompound;
|
|||
import buildcraft.api.core.BlockIndex;
|
||||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.utils.IBlockFilter;
|
||||
import buildcraft.core.utils.PathFinding;
|
||||
import buildcraft.core.utils.PathFindingJob;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
|
||||
|
@ -14,6 +14,7 @@ import buildcraft.api.core.IZone;
|
|||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.inventory.TransactorSimple;
|
||||
import buildcraft.core.utils.IEntityFilter;
|
||||
|
||||
public class AIRobotSearchEntity extends AIRobot {
|
||||
|
|
@ -6,12 +6,13 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import buildcraft.api.core.BlockIndex;
|
||||
import buildcraft.api.core.IZone;
|
||||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.utils.IBlockFilter;
|
||||
|
||||
public class AIRobotSearchRandomGroundBlock extends AIRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
|
@ -23,9 +23,11 @@ import buildcraft.api.statements.IStatementParameter;
|
|||
import buildcraft.api.statements.StatementParameterItemStack;
|
||||
import buildcraft.core.inventory.StackHelper;
|
||||
import buildcraft.core.inventory.filters.IStackFilter;
|
||||
import buildcraft.silicon.statements.ActionRobotFilter;
|
||||
import buildcraft.silicon.statements.ActionStationRequestItems;
|
||||
import buildcraft.silicon.statements.ActionStationRequestItemsMachine;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.robots.IStationFilter;
|
||||
import buildcraft.robots.statements.ActionRobotFilter;
|
||||
import buildcraft.robots.statements.ActionStationRequestItems;
|
||||
import buildcraft.robots.statements.ActionStationRequestItemsMachine;
|
||||
import buildcraft.transport.Pipe;
|
||||
import buildcraft.transport.gates.ActionIterator;
|
||||
import buildcraft.transport.gates.StatementSlot;
|
|
@ -6,13 +6,15 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import buildcraft.api.core.IZone;
|
||||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.api.robots.IDockingStation;
|
||||
import buildcraft.silicon.statements.ActionStationForbidRobot;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.robots.IStationFilter;
|
||||
import buildcraft.robots.statements.ActionStationForbidRobot;
|
||||
|
||||
public class AIRobotSearchStation extends AIRobot {
|
||||
|
|
@ -6,11 +6,12 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.silicon.statements.ActionRobotWakeUp;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.robots.statements.ActionRobotWakeUp;
|
||||
import buildcraft.transport.gates.ActionIterator;
|
||||
import buildcraft.transport.gates.StatementSlot;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
|
||||
|
@ -14,7 +14,9 @@ import buildcraft.api.core.IInvSlot;
|
|||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.inventory.InventoryIterator;
|
||||
import buildcraft.silicon.statements.ActionStationInputItems;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.robots.EntityRobot;
|
||||
import buildcraft.robots.statements.ActionStationInputItems;
|
||||
import buildcraft.transport.Pipe;
|
||||
import buildcraft.transport.gates.ActionIterator;
|
||||
import buildcraft.transport.gates.StatementSlot;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
|
@ -18,8 +18,9 @@ import net.minecraftforge.fluids.IFluidHandler;
|
|||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.inventory.filters.SimpleFluidFilter;
|
||||
import buildcraft.silicon.statements.ActionRobotFilter;
|
||||
import buildcraft.silicon.statements.ActionStationAcceptFluids;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.robots.statements.ActionRobotFilter;
|
||||
import buildcraft.robots.statements.ActionStationAcceptFluids;
|
||||
|
||||
public class AIRobotUnloadFluids extends AIRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots;
|
||||
package buildcraft.robots.ai;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.WorldServer;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import net.minecraft.entity.item.EntityTNTPrimed;
|
||||
import net.minecraft.init.Blocks;
|
||||
|
@ -24,11 +24,11 @@ import buildcraft.core.inventory.ITransactor;
|
|||
import buildcraft.core.inventory.Transactor;
|
||||
import buildcraft.core.inventory.filters.ArrayStackFilter;
|
||||
import buildcraft.core.inventory.filters.IStackFilter;
|
||||
import buildcraft.core.robots.AIRobotGotoBlock;
|
||||
import buildcraft.core.robots.AIRobotGotoStationToLoad;
|
||||
import buildcraft.core.robots.AIRobotLoad;
|
||||
import buildcraft.core.robots.AIRobotSearchRandomGroundBlock;
|
||||
import buildcraft.core.robots.IBlockFilter;
|
||||
import buildcraft.robots.ai.AIRobotGotoBlock;
|
||||
import buildcraft.robots.ai.AIRobotGotoStationToLoad;
|
||||
import buildcraft.robots.ai.AIRobotLoad;
|
||||
import buildcraft.robots.ai.AIRobotSearchRandomGroundBlock;
|
||||
import buildcraft.core.utils.IBlockFilter;
|
||||
|
||||
public class BoardRobotBomber extends RedstoneBoardRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.LinkedList;
|
||||
|
||||
|
@ -21,11 +21,11 @@ import buildcraft.builders.TileConstructionMarker;
|
|||
import buildcraft.core.builders.BuildingItem;
|
||||
import buildcraft.core.builders.BuildingSlot;
|
||||
import buildcraft.core.inventory.filters.ArrayStackFilter;
|
||||
import buildcraft.core.robots.AIRobotGotoBlock;
|
||||
import buildcraft.core.robots.AIRobotGotoSleep;
|
||||
import buildcraft.core.robots.AIRobotGotoStationToLoad;
|
||||
import buildcraft.core.robots.AIRobotLoad;
|
||||
import buildcraft.core.robots.AIRobotRecharge;
|
||||
import buildcraft.robots.ai.AIRobotGotoBlock;
|
||||
import buildcraft.robots.ai.AIRobotGotoSleep;
|
||||
import buildcraft.robots.ai.AIRobotGotoStationToLoad;
|
||||
import buildcraft.robots.ai.AIRobotLoad;
|
||||
import buildcraft.robots.ai.AIRobotRecharge;
|
||||
|
||||
public class BoardRobotBuilder extends RedstoneBoardRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.passive.EntityAnimal;
|
||||
|
@ -18,11 +18,11 @@ import buildcraft.api.boards.RedstoneBoardRobotNBT;
|
|||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.inventory.filters.IStackFilter;
|
||||
import buildcraft.core.robots.AIRobotAttack;
|
||||
import buildcraft.core.robots.AIRobotFetchAndEquipItemStack;
|
||||
import buildcraft.core.robots.AIRobotGotoSleep;
|
||||
import buildcraft.core.robots.AIRobotSearchEntity;
|
||||
import buildcraft.core.robots.IEntityFilter;
|
||||
import buildcraft.robots.ai.AIRobotAttack;
|
||||
import buildcraft.robots.ai.AIRobotFetchAndEquipItemStack;
|
||||
import buildcraft.robots.ai.AIRobotGotoSleep;
|
||||
import buildcraft.robots.ai.AIRobotSearchEntity;
|
||||
import buildcraft.core.utils.IEntityFilter;
|
||||
|
||||
public class BoardRobotButcher extends RedstoneBoardRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -6,17 +6,17 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import buildcraft.api.boards.RedstoneBoardRobot;
|
||||
import buildcraft.api.boards.RedstoneBoardRobotNBT;
|
||||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.robots.AIRobotGotoSleep;
|
||||
import buildcraft.core.robots.AIRobotGotoStationAndUnload;
|
||||
import buildcraft.core.robots.AIRobotGotoStationToLoad;
|
||||
import buildcraft.core.robots.AIRobotLoad;
|
||||
import buildcraft.silicon.statements.ActionRobotFilter;
|
||||
import buildcraft.robots.ai.AIRobotGotoSleep;
|
||||
import buildcraft.robots.ai.AIRobotGotoStationAndUnload;
|
||||
import buildcraft.robots.ai.AIRobotGotoStationToLoad;
|
||||
import buildcraft.robots.ai.AIRobotLoad;
|
||||
import buildcraft.robots.statements.ActionRobotFilter;
|
||||
|
||||
public class BoardRobotCarrier extends RedstoneBoardRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
|
@ -32,17 +32,17 @@ import buildcraft.api.robots.IDockingStation;
|
|||
import buildcraft.api.robots.StackRequest;
|
||||
import buildcraft.core.inventory.StackHelper;
|
||||
import buildcraft.core.recipes.AssemblyRecipeManager;
|
||||
import buildcraft.core.robots.AIRobotCraftAssemblyTable;
|
||||
import buildcraft.core.robots.AIRobotCraftFurnace;
|
||||
import buildcraft.core.robots.AIRobotCraftGeneric;
|
||||
import buildcraft.core.robots.AIRobotCraftWorkbench;
|
||||
import buildcraft.core.robots.AIRobotDeliverRequested;
|
||||
import buildcraft.core.robots.AIRobotDisposeItems;
|
||||
import buildcraft.core.robots.AIRobotGotoSleep;
|
||||
import buildcraft.core.robots.AIRobotGotoStationToUnload;
|
||||
import buildcraft.core.robots.AIRobotSearchStackRequest;
|
||||
import buildcraft.core.robots.AIRobotUnload;
|
||||
import buildcraft.silicon.statements.ActionRobotFilter;
|
||||
import buildcraft.robots.ai.AIRobotCraftAssemblyTable;
|
||||
import buildcraft.robots.ai.AIRobotCraftFurnace;
|
||||
import buildcraft.robots.ai.AIRobotCraftGeneric;
|
||||
import buildcraft.robots.ai.AIRobotCraftWorkbench;
|
||||
import buildcraft.robots.ai.AIRobotDeliverRequested;
|
||||
import buildcraft.robots.ai.AIRobotDisposeItems;
|
||||
import buildcraft.robots.ai.AIRobotGotoSleep;
|
||||
import buildcraft.robots.ai.AIRobotGotoStationToUnload;
|
||||
import buildcraft.robots.ai.AIRobotSearchStackRequest;
|
||||
import buildcraft.robots.ai.AIRobotUnload;
|
||||
import buildcraft.robots.statements.ActionRobotFilter;
|
||||
|
||||
public class BoardRobotCrafter extends RedstoneBoardRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
@ -19,12 +19,12 @@ import buildcraft.api.robots.EntityRobotBase;
|
|||
import buildcraft.api.robots.StackRequest;
|
||||
import buildcraft.core.inventory.StackHelper;
|
||||
import buildcraft.core.inventory.filters.IStackFilter;
|
||||
import buildcraft.core.robots.AIRobotDeliverRequested;
|
||||
import buildcraft.core.robots.AIRobotDisposeItems;
|
||||
import buildcraft.core.robots.AIRobotGotoSleep;
|
||||
import buildcraft.core.robots.AIRobotGotoStationAndLoad;
|
||||
import buildcraft.core.robots.AIRobotSearchStackRequest;
|
||||
import buildcraft.silicon.statements.ActionRobotFilter;
|
||||
import buildcraft.robots.ai.AIRobotDeliverRequested;
|
||||
import buildcraft.robots.ai.AIRobotDisposeItems;
|
||||
import buildcraft.robots.ai.AIRobotGotoSleep;
|
||||
import buildcraft.robots.ai.AIRobotGotoStationAndLoad;
|
||||
import buildcraft.robots.ai.AIRobotSearchStackRequest;
|
||||
import buildcraft.robots.statements.ActionRobotFilter;
|
||||
|
||||
public class BoardRobotDelivery extends RedstoneBoardRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import net.minecraft.item.ItemHoe;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
@ -20,14 +20,14 @@ import buildcraft.api.core.BuildCraftAPI;
|
|||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.inventory.filters.IStackFilter;
|
||||
import buildcraft.core.robots.AIRobotFetchAndEquipItemStack;
|
||||
import buildcraft.core.robots.AIRobotGotoBlock;
|
||||
import buildcraft.core.robots.AIRobotGotoSleep;
|
||||
import buildcraft.core.robots.AIRobotSearchBlock;
|
||||
import buildcraft.core.robots.AIRobotUseToolOnBlock;
|
||||
import buildcraft.core.robots.IBlockFilter;
|
||||
import buildcraft.core.robots.ResourceIdBlock;
|
||||
import buildcraft.core.robots.RobotRegistry;
|
||||
import buildcraft.robots.ai.AIRobotFetchAndEquipItemStack;
|
||||
import buildcraft.robots.ai.AIRobotGotoBlock;
|
||||
import buildcraft.robots.ai.AIRobotGotoSleep;
|
||||
import buildcraft.robots.ai.AIRobotSearchBlock;
|
||||
import buildcraft.robots.ai.AIRobotUseToolOnBlock;
|
||||
import buildcraft.core.utils.IBlockFilter;
|
||||
import buildcraft.robots.ResourceIdBlock;
|
||||
import buildcraft.robots.RobotRegistry;
|
||||
|
||||
public class BoardRobotFarmer extends RedstoneBoardRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -6,16 +6,16 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import buildcraft.api.boards.RedstoneBoardRobot;
|
||||
import buildcraft.api.boards.RedstoneBoardRobotNBT;
|
||||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.robots.AIRobotGotoSleep;
|
||||
import buildcraft.core.robots.AIRobotGotoStationAndLoadFluids;
|
||||
import buildcraft.core.robots.AIRobotGotoStationAndUnloadFluids;
|
||||
import buildcraft.silicon.statements.ActionRobotFilter;
|
||||
import buildcraft.robots.ai.AIRobotGotoSleep;
|
||||
import buildcraft.robots.ai.AIRobotGotoStationAndLoadFluids;
|
||||
import buildcraft.robots.ai.AIRobotGotoStationAndUnloadFluids;
|
||||
import buildcraft.robots.statements.ActionRobotFilter;
|
||||
|
||||
public class BoardRobotFluidCarrier extends RedstoneBoardRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
@ -23,15 +23,15 @@ import buildcraft.api.robots.EntityRobotBase;
|
|||
import buildcraft.api.statements.IStatementParameter;
|
||||
import buildcraft.api.statements.StatementParameterItemStack;
|
||||
import buildcraft.core.inventory.filters.IStackFilter;
|
||||
import buildcraft.core.robots.AIRobotBreak;
|
||||
import buildcraft.core.robots.AIRobotFetchAndEquipItemStack;
|
||||
import buildcraft.core.robots.AIRobotGotoBlock;
|
||||
import buildcraft.core.robots.AIRobotGotoSleep;
|
||||
import buildcraft.core.robots.AIRobotSearchBlock;
|
||||
import buildcraft.core.robots.DockingStation;
|
||||
import buildcraft.core.robots.IBlockFilter;
|
||||
import buildcraft.core.robots.ResourceIdBlock;
|
||||
import buildcraft.silicon.statements.ActionRobotFilter;
|
||||
import buildcraft.robots.ai.AIRobotBreak;
|
||||
import buildcraft.robots.ai.AIRobotFetchAndEquipItemStack;
|
||||
import buildcraft.robots.ai.AIRobotGotoBlock;
|
||||
import buildcraft.robots.ai.AIRobotGotoSleep;
|
||||
import buildcraft.robots.ai.AIRobotSearchBlock;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.core.utils.IBlockFilter;
|
||||
import buildcraft.robots.ResourceIdBlock;
|
||||
import buildcraft.robots.statements.ActionRobotFilter;
|
||||
import buildcraft.transport.gates.ActionIterator;
|
||||
import buildcraft.transport.gates.StatementSlot;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.monster.EntityMob;
|
||||
|
@ -18,11 +18,11 @@ import buildcraft.api.boards.RedstoneBoardRobotNBT;
|
|||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.inventory.filters.IStackFilter;
|
||||
import buildcraft.core.robots.AIRobotAttack;
|
||||
import buildcraft.core.robots.AIRobotFetchAndEquipItemStack;
|
||||
import buildcraft.core.robots.AIRobotGotoSleep;
|
||||
import buildcraft.core.robots.AIRobotSearchEntity;
|
||||
import buildcraft.core.robots.IEntityFilter;
|
||||
import buildcraft.robots.ai.AIRobotAttack;
|
||||
import buildcraft.robots.ai.AIRobotFetchAndEquipItemStack;
|
||||
import buildcraft.robots.ai.AIRobotGotoSleep;
|
||||
import buildcraft.robots.ai.AIRobotSearchEntity;
|
||||
import buildcraft.core.utils.IEntityFilter;
|
||||
|
||||
public class BoardRobotKnight extends RedstoneBoardRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import net.minecraft.item.ItemShears;
|
||||
import net.minecraft.item.ItemStack;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import net.minecraft.item.ItemAxe;
|
||||
import net.minecraft.item.ItemStack;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import net.minecraft.item.ItemPickaxe;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
@ -16,7 +16,7 @@ import buildcraft.api.boards.RedstoneBoardRobotNBT;
|
|||
import buildcraft.api.core.BuildCraftAPI;
|
||||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.robots.AIRobotFetchAndEquipItemStack;
|
||||
import buildcraft.robots.ai.AIRobotFetchAndEquipItemStack;
|
||||
|
||||
public class BoardRobotMiner extends BoardRobotGenericBreakBlock {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
@ -17,10 +17,10 @@ import buildcraft.api.boards.RedstoneBoardRobot;
|
|||
import buildcraft.api.boards.RedstoneBoardRobotNBT;
|
||||
import buildcraft.api.robots.AIRobot;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.robots.AIRobotFetchItem;
|
||||
import buildcraft.core.robots.AIRobotGotoSleep;
|
||||
import buildcraft.core.robots.AIRobotGotoStationAndUnload;
|
||||
import buildcraft.silicon.statements.ActionRobotFilter;
|
||||
import buildcraft.robots.ai.AIRobotFetchItem;
|
||||
import buildcraft.robots.ai.AIRobotGotoSleep;
|
||||
import buildcraft.robots.ai.AIRobotGotoStationAndUnload;
|
||||
import buildcraft.robots.statements.ActionRobotFilter;
|
||||
|
||||
public class BoardRobotPicker extends RedstoneBoardRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -20,7 +20,7 @@ import net.minecraft.util.ResourceLocation;
|
|||
import buildcraft.api.boards.RedstoneBoardRobot;
|
||||
import buildcraft.api.boards.RedstoneBoardRobotNBT;
|
||||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.core.robots.EntityRobot;
|
||||
import buildcraft.robots.EntityRobot;
|
||||
import buildcraft.core.utils.StringUtils;
|
||||
|
||||
public final class BoardRobotPickerNBT extends RedstoneBoardRobotNBT {
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
|
@ -30,15 +30,15 @@ import buildcraft.core.inventory.filters.ArrayStackOrListFilter;
|
|||
import buildcraft.core.inventory.filters.CompositeFilter;
|
||||
import buildcraft.core.inventory.filters.IStackFilter;
|
||||
import buildcraft.core.inventory.filters.OreStackFilter;
|
||||
import buildcraft.core.robots.AIRobotFetchAndEquipItemStack;
|
||||
import buildcraft.core.robots.AIRobotGotoBlock;
|
||||
import buildcraft.core.robots.AIRobotGotoRandomGroundBlock;
|
||||
import buildcraft.core.robots.AIRobotGotoSleep;
|
||||
import buildcraft.core.robots.AIRobotSearchBlock;
|
||||
import buildcraft.core.robots.AIRobotUseToolOnBlock;
|
||||
import buildcraft.core.robots.IBlockFilter;
|
||||
import buildcraft.core.robots.ResourceIdBlock;
|
||||
import buildcraft.silicon.statements.ActionRobotFilter;
|
||||
import buildcraft.robots.ai.AIRobotFetchAndEquipItemStack;
|
||||
import buildcraft.robots.ai.AIRobotGotoBlock;
|
||||
import buildcraft.robots.ai.AIRobotGotoRandomGroundBlock;
|
||||
import buildcraft.robots.ai.AIRobotGotoSleep;
|
||||
import buildcraft.robots.ai.AIRobotSearchBlock;
|
||||
import buildcraft.robots.ai.AIRobotUseToolOnBlock;
|
||||
import buildcraft.core.utils.IBlockFilter;
|
||||
import buildcraft.robots.ResourceIdBlock;
|
||||
import buildcraft.robots.statements.ActionRobotFilter;
|
||||
|
||||
public class BoardRobotPlanter extends RedstoneBoardRobot {
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
@ -28,15 +28,15 @@ import buildcraft.api.robots.AIRobot;
|
|||
import buildcraft.api.robots.EntityRobotBase;
|
||||
import buildcraft.api.statements.IStatementParameter;
|
||||
import buildcraft.api.statements.StatementParameterItemStack;
|
||||
import buildcraft.core.robots.AIRobotGotoBlock;
|
||||
import buildcraft.core.robots.AIRobotGotoSleep;
|
||||
import buildcraft.core.robots.AIRobotGotoStationAndUnloadFluids;
|
||||
import buildcraft.core.robots.AIRobotPumpBlock;
|
||||
import buildcraft.core.robots.AIRobotSearchBlock;
|
||||
import buildcraft.core.robots.DockingStation;
|
||||
import buildcraft.core.robots.IBlockFilter;
|
||||
import buildcraft.core.robots.ResourceIdBlock;
|
||||
import buildcraft.silicon.statements.ActionRobotFilter;
|
||||
import buildcraft.robots.ai.AIRobotGotoBlock;
|
||||
import buildcraft.robots.ai.AIRobotGotoSleep;
|
||||
import buildcraft.robots.ai.AIRobotGotoStationAndUnloadFluids;
|
||||
import buildcraft.robots.ai.AIRobotPumpBlock;
|
||||
import buildcraft.robots.ai.AIRobotSearchBlock;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.core.utils.IBlockFilter;
|
||||
import buildcraft.robots.ResourceIdBlock;
|
||||
import buildcraft.robots.statements.ActionRobotFilter;
|
||||
import buildcraft.transport.gates.ActionIterator;
|
||||
import buildcraft.transport.gates.StatementSlot;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import net.minecraft.item.ItemSpade;
|
||||
import net.minecraft.item.ItemStack;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.robots.boards;
|
||||
package buildcraft.robots.boards;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.core.render;
|
||||
package buildcraft.robots.render;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
|
@ -29,8 +29,10 @@ import net.minecraftforge.client.IItemRenderer;
|
|||
import buildcraft.BuildCraftSilicon;
|
||||
import buildcraft.core.DefaultProps;
|
||||
import buildcraft.core.EntityLaser;
|
||||
import buildcraft.core.ItemRobot;
|
||||
import buildcraft.core.robots.EntityRobot;
|
||||
import buildcraft.core.render.RenderLaser;
|
||||
import buildcraft.core.render.RenderUtils;
|
||||
import buildcraft.robots.ItemRobot;
|
||||
import buildcraft.robots.EntityRobot;
|
||||
|
||||
public class RenderRobot extends Render implements IItemRenderer {
|
||||
|
||||
|
@ -140,7 +142,7 @@ public class RenderRobot extends Render implements IItemRenderer {
|
|||
robot.laser.head.y = robot.posY;
|
||||
robot.laser.head.z = robot.posZ;
|
||||
|
||||
RenderLaser.doRenderLaser(renderManager.renderEngine, robot.laser, EntityLaser.LASER_TEXTURES [1]);
|
||||
RenderLaser.doRenderLaser(renderManager.renderEngine, robot.laser, EntityLaser.LASER_TEXTURES[1]);
|
||||
}
|
||||
|
||||
if (robot.getTexture() != null) {
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.silicon.statements;
|
||||
package buildcraft.robots.statements;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
|
@ -29,7 +29,7 @@ import buildcraft.core.inventory.filters.IStackFilter;
|
|||
import buildcraft.core.inventory.filters.PassThroughFluidFilter;
|
||||
import buildcraft.core.inventory.filters.PassThroughStackFilter;
|
||||
import buildcraft.core.inventory.filters.StatementParameterStackFilter;
|
||||
import buildcraft.core.robots.DockingStation;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.core.statements.BCStatement;
|
||||
import buildcraft.core.utils.StringUtils;
|
||||
import buildcraft.transport.Pipe;
|
|
@ -6,7 +6,7 @@
|
|||
* License 1.0, or MMPL. Please check the contents of the license located in
|
||||
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
||||
*/
|
||||
package buildcraft.silicon.statements;
|
||||
package buildcraft.robots.statements;
|
||||
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
@ -20,10 +20,10 @@ import buildcraft.api.statements.IStatementContainer;
|
|||
import buildcraft.api.statements.IStatementParameter;
|
||||
import buildcraft.api.statements.StatementParameterItemStack;
|
||||
import buildcraft.core.ItemMapLocation;
|
||||
import buildcraft.core.robots.AIRobotGoAndLinkToDock;
|
||||
import buildcraft.core.robots.DockingStation;
|
||||
import buildcraft.core.robots.EntityRobot;
|
||||
import buildcraft.core.robots.RobotRegistry;
|
||||
import buildcraft.robots.ai.AIRobotGoAndLinkToDock;
|
||||
import buildcraft.robots.DockingStation;
|
||||
import buildcraft.robots.EntityRobot;
|
||||
import buildcraft.robots.RobotRegistry;
|
||||
import buildcraft.core.statements.BCStatement;
|
||||
import buildcraft.core.utils.StringUtils;
|
||||
import buildcraft.transport.Gate;
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue