Class FluidHandlerItemStack.SwapEmpty

java.lang.Object
net.minecraftforge.fluids.capability.templates.FluidHandlerItemStack
net.minecraftforge.fluids.capability.templates.FluidHandlerItemStack.SwapEmpty
All Implemented Interfaces:
ICapabilityProvider, IFluidHandler, IFluidHandlerItem
Enclosing class:
FluidHandlerItemStack

public static class FluidHandlerItemStack.SwapEmpty extends FluidHandlerItemStack
Swaps the container item for a different one when it's emptied.
  • Field Details

    • emptyContainer

      protected final ItemStack emptyContainer
  • Constructor Details

    • SwapEmpty

      public SwapEmpty(ItemStack container, ItemStack emptyContainer, int capacity)
  • Method Details