public static class FluidHandlerItemStackSimple.SwapEmpty extends FluidHandlerItemStackSimple
FluidHandlerItemStackSimple.Consumable, FluidHandlerItemStackSimple.SwapEmpty
Modifier and Type | Field and Description |
---|---|
protected ItemStack |
emptyContainer |
capacity, container, FLUID_NBT_KEY
Constructor and Description |
---|
SwapEmpty(ItemStack container,
ItemStack emptyContainer,
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, getTankProperties, hasCapability, setFluid
protected final ItemStack emptyContainer
protected void setContainerToEmpty()
FluidHandlerItemStackSimple
setContainerToEmpty
in class FluidHandlerItemStackSimple