Merge pull request #116 from Bart97/master
Add a work scheduled and work done triggers to the assembly table
This commit is contained in:
commit
3d04befa64
1 changed files with 21 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue