Modifier and Type | Method and Description |
---|---|
static LazyOptional<IFluidHandlerItem> |
FluidUtil.getFluidHandler(ItemStack itemStack)
Helper method to get an
IFluidHandlerItem for an itemStack. |
Modifier and Type | Field and Description |
---|---|
static Capability<IFluidHandlerItem> |
CapabilityFluidHandler.FLUID_HANDLER_ITEM_CAPABILITY |
Modifier and Type | Class and Description |
---|---|
class |
FluidHandlerItemStack
FluidHandlerItemStack is a template capability provider for ItemStacks.
|
static class |
FluidHandlerItemStack.Consumable
Destroys the container item when it's emptied.
|
static class |
FluidHandlerItemStack.SwapEmpty
Swaps the container item for a different one when it's emptied.
|
class |
FluidHandlerItemStackSimple
FluidHandlerItemStackSimple is a template capability provider for ItemStacks.
|
static class |
FluidHandlerItemStackSimple.Consumable
Destroys the container item when it's emptied.
|
static class |
FluidHandlerItemStackSimple.SwapEmpty
Swaps the container item for a different one when it's emptied.
|
Modifier and Type | Field and Description |
---|---|
private LazyOptional<IFluidHandlerItem> |
FluidHandlerItemStackSimple.holder |
private LazyOptional<IFluidHandlerItem> |
FluidHandlerItemStack.holder |
Modifier and Type | Class and Description |
---|---|
class |
FluidBucketWrapper
Wrapper for vanilla and forge buckets.
|
Modifier and Type | Field and Description |
---|---|
private LazyOptional<IFluidHandlerItem> |
FluidBucketWrapper.holder |