Added Work scheduled and Work done triggers to Assembly Table.

This commit is contained in:
Bart 2012-07-22 14:02:53 +03:00
parent b50c4de239
commit cdc429872a

View file

@ -24,7 +24,7 @@ import net.minecraft.src.buildcraft.core.network.PacketIds;
import net.minecraft.src.buildcraft.core.network.PacketUpdate;
import net.minecraft.src.buildcraft.core.network.TilePacketWrapper;
public class TileAssemblyTable extends TileEntity implements IInventory, IPipeConnection {
public class TileAssemblyTable extends TileEntity implements IMachine, IInventory, IPipeConnection {
ItemStack[] items = new ItemStack[12];
@ -433,4 +433,24 @@ public class TileAssemblyTable extends TileEntity implements IInventory, IPipeCo
iCrafting.updateCraftingInventoryInfo(container, 1, (int) energyStored);
}
@Override
public boolean isActive() {
return currentRecipe != null;
}
@Override
public boolean manageLiquids() {
return false;
}
@Override
public boolean manageSolids() {
return false;
}
@Override
public boolean allowActions() {
return false;
}
}