Class FluidHandlerItemStack.Consumable
java.lang.Object
net.minecraftforge.fluids.capability.templates.FluidHandlerItemStack
net.minecraftforge.fluids.capability.templates.FluidHandlerItemStack.Consumable
- All Implemented Interfaces:
- ICapabilityProvider,- IFluidHandler,- IFluidHandlerItem
- Enclosing class:
- FluidHandlerItemStack
Destroys the container item when it's emptied.
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraftforge.fluids.capability.templates.FluidHandlerItemStackFluidHandlerItemStack.Consumable, FluidHandlerItemStack.SwapEmptyNested classes/interfaces inherited from interface net.minecraftforge.fluids.capability.IFluidHandlerIFluidHandler.FluidAction
- 
Field SummaryFields inherited from class net.minecraftforge.fluids.capability.templates.FluidHandlerItemStackcapacity, container, FLUID_NBT_KEY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidOverride this method for special handling.Methods inherited from class net.minecraftforge.fluids.capability.templates.FluidHandlerItemStackcanDrainFluidType, canFillFluidType, drain, drain, fill, getCapability, getContainer, getFluid, getFluidInTank, getTankCapacity, getTanks, isFluidValid, setFluidMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvidergetCapability
- 
Constructor Details- 
Consumable
 
- 
- 
Method Details- 
setContainerToEmptyprotected void setContainerToEmpty()Description copied from class:FluidHandlerItemStackOverride this method for special handling. Can be used to swap out or destroy the container.- Overrides:
- setContainerToEmptyin class- FluidHandlerItemStack
 
 
-