net.minecraftforge.fluids

## Class FluidTankInfo

- java.lang.Object
- - net.minecraftforge.fluids.FluidTankInfo

-     public final class FluidTankInfo
      extends Object

  Wrapper class used to encapsulate information about an IFluidTank.
  Author:
    King Lemming

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `capacity`
    `FluidStack` | `fluid`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `FluidTankInfo(FluidStack fluid, int capacity)`
    `FluidTankInfo(IFluidTank tank)`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### fluid

          public final FluidStack fluid

    - #### capacity

          public final int capacity

  - ### Constructor Detail

    - #### FluidTankInfo

          public FluidTankInfo(FluidStack fluid,
                       int capacity)

    - #### FluidTankInfo

          public FluidTankInfo(IFluidTank tank)