类 FluidHandlerItemStackSimple.Consumable
java.lang.Object
net.minecraftforge.fluids.capability.templates.FluidHandlerItemStackSimple
net.minecraftforge.fluids.capability.templates.FluidHandlerItemStackSimple.Consumable
- 所有已实现的接口:
ICapabilityProvider
,IFluidHandler
,IFluidHandlerItem
Destroys the container item when it's emptied.
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraftforge.fluids.capability.templates.FluidHandlerItemStackSimple
FluidHandlerItemStackSimple.Consumable, FluidHandlerItemStackSimple.SwapEmpty
从接口继承的嵌套类/接口 net.minecraftforge.fluids.capability.IFluidHandler
IFluidHandler.FluidAction
-
字段概要
从类继承的字段 net.minecraftforge.fluids.capability.templates.FluidHandlerItemStackSimple
capacity, container, FLUID_NBT_KEY
-
构造器概要
构造器 -
方法概要
从类继承的方法 net.minecraftforge.fluids.capability.templates.FluidHandlerItemStackSimple
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
-
构造器详细资料
-
Consumable
-
-
方法详细资料
-
setContainerToEmpty
protected void setContainerToEmpty()从类复制的说明:FluidHandlerItemStackSimple
Override this method for special handling. Can be used to swap out the container's item for a different one with "container.setItem". Can be used to destroy the container with "container.stackSize--"
-