类 FluidHandlerItemStack.SwapEmpty
java.lang.Object
net.minecraftforge.fluids.capability.templates.FluidHandlerItemStack
net.minecraftforge.fluids.capability.templates.FluidHandlerItemStack.SwapEmpty
- 所有已实现的接口:
ICapabilityProvider
,IFluidHandler
,IFluidHandlerItem
Swaps the container item for a different one when it's emptied.
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraftforge.fluids.capability.templates.FluidHandlerItemStack
FluidHandlerItemStack.Consumable, FluidHandlerItemStack.SwapEmpty
从接口继承的嵌套类/接口 net.minecraftforge.fluids.capability.IFluidHandler
IFluidHandler.FluidAction
-
字段概要
字段从类继承的字段 net.minecraftforge.fluids.capability.templates.FluidHandlerItemStack
capacity, container, FLUID_NBT_KEY
-
构造器概要
构造器 -
方法概要
从类继承的方法 net.minecraftforge.fluids.capability.templates.FluidHandlerItemStack
canDrainFluidType, canFillFluidType, drain, drain, fill, getCapability, getContainer, getFluid, getFluidInTank, getTankCapacity, getTanks, isFluidValid, setFluid
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability
-
字段详细资料
-
emptyContainer
-
-
构造器详细资料
-
SwapEmpty
-
-
方法详细资料
-
setContainerToEmpty
protected void setContainerToEmpty()从类复制的说明:FluidHandlerItemStack
Override this method for special handling. Can be used to swap out or destroy the container.
-