Class EmptyInTankTickAction<T extends BlockEntityTickingTankInventory<T>>
java.lang.Object
org.cyclops.evilcraft.blockentity.tickaction.EmptyInTankTickAction<T>
- Type Parameters:
T- Extension ofBlockEntityTickingTankInventorythat has a tank.
- All Implemented Interfaces:
ITickAction<T>
- Direct Known Subclasses:
EmptyFluidContainerInTankTickAction
public abstract class EmptyInTankTickAction<T extends BlockEntityTickingTankInventory<T>>
extends Object
implements ITickAction<T>
Abstract
ITickAction for emptying items in tanks.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cyclops.evilcraft.core.blockentity.tickaction.ITickAction
getRequiredTicks, onTick
-
Field Details
-
MB_PER_TICK
protected static final int MB_PER_TICK
-
-
Constructor Details
-
EmptyInTankTickAction
public EmptyInTankTickAction()
-
-
Method Details
-
canTick
Description copied from interface:ITickActionIf this action can tick for the given conditions.- Specified by:
canTickin interfaceITickAction<T extends BlockEntityTickingTankInventory<T>>- Parameters:
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.- Returns:
- If the action can tick for the given parameters.
-