T - Extension of TickingTankInventoryTileEntity that has a tank.public abstract class EmptyInTankTickAction<T extends TickingTankInventoryTileEntity<T>> extends java.lang.Object implements ITickAction<T>
ITickAction for emptying items in tanks.| Modifier and Type | Field and Description |
|---|---|
protected static int |
MB_PER_TICK |
| Constructor and Description |
|---|
EmptyInTankTickAction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canTick(T tile,
net.minecraft.item.ItemStack itemStack,
int slot,
int tick)
If this action can tick for the given conditions.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequiredTicks, onTickpublic boolean canTick(T tile, net.minecraft.item.ItemStack itemStack, int slot, int tick)
ITickActioncanTick in interface ITickAction<T extends TickingTankInventoryTileEntity<T>>tile - The tile entity that ticks.itemStack - The ItemStack that is in the slot for which this ticker runs.slot - The slot ID for the ticker.tick - The current tick.