public static class FluidHandlerItemStackSimple.Consumable extends FluidHandlerItemStackSimple
FluidHandlerItemStackSimple.Consumable, FluidHandlerItemStackSimple.SwapEmpty
IFluidHandler.FluidAction
capacity, container, FLUID_NBT_KEY
Constructor and Description |
---|
Consumable(ItemStack container,
int capacity) |
Modifier and Type | Method and Description |
---|---|
protected void |
setContainerToEmpty()
Override this method for special handling.
|
canDrainFluidType, canFillFluidType, drain, drain, fill, getCapability, getContainer, getFluid, getFluidInTank, getTankCapacity, getTanks, isFluidValid, setFluid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCapability
public Consumable(ItemStack container, int capacity)
protected void setContainerToEmpty()
FluidHandlerItemStackSimple
setContainerToEmpty
in class FluidHandlerItemStackSimple