Interface IFluidHandlerItemCapacity

All Superinterfaces:
net.minecraftforge.fluids.capability.IFluidHandler, net.minecraftforge.fluids.capability.IFluidHandlerItem
All Known Implementing Classes:
FluidHandlerItemCapacity

public interface IFluidHandlerItemCapacity extends net.minecraftforge.fluids.capability.IFluidHandlerItem
An item fluid handler with a mutable capacity.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraftforge.fluids.capability.IFluidHandler

    net.minecraftforge.fluids.capability.IFluidHandler.FluidAction
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    void
    setCapacity(int capacity)
     

    Methods inherited from interface net.minecraftforge.fluids.capability.IFluidHandler

    drain, drain, fill, getFluidInTank, getTankCapacity, getTanks, isFluidValid

    Methods inherited from interface net.minecraftforge.fluids.capability.IFluidHandlerItem

    getContainer
  • Method Details

    • setCapacity

      void setCapacity(int capacity)
    • getCapacity

      int getCapacity()