## Uses of Class
net.minecraftforge.fluids.FluidStack

- Packages that use FluidStack
  Package | Description
  --- | ---
  net.minecraftforge.fluids |

- - ### Uses of FluidStack in net.minecraftforge.fluids

    Fields in net.minecraftforge.fluids declared as FluidStack
    Modifier and Type | Field and Description
    --- | ---
    `FluidStack` | FluidTankInfo.`fluid`
    `FluidStack` | FluidEvent.`fluid`
    `FluidStack` | FluidContainerRegistry.FluidContainerData.`fluid`

    Methods in net.minecraftforge.fluids that return FluidStack
    Modifier and Type | Method and Description
    --- | ---
    `FluidStack` | FluidStack.`copy()`
    `FluidStack` | IFluidHandler.`drain(ForgeDirection from, FluidStack resource, boolean doDrain)` Drains fluid out of internal tanks, distribution is left entirely to the IFluidHandler.
    `FluidStack` | TileFluidHandler.`drain(ForgeDirection from, FluidStack resource, boolean doDrain)`
    `FluidStack` | IFluidHandler.`drain(ForgeDirection from, int maxDrain, boolean doDrain)` Drains fluid out of internal tanks, distribution is left entirely to the IFluidHandler.
    `FluidStack` | TileFluidHandler.`drain(ForgeDirection from, int maxDrain, boolean doDrain)`
    `FluidStack` | IFluidTank.`drain(int maxDrain, boolean doDrain)`
    `FluidStack` | FluidTank.`drain(int maxDrain, boolean doDrain)`
    `FluidStack` | IFluidContainerItem.`drain(ItemStack container, int maxDrain, boolean doDrain)`
    `FluidStack` | ItemFluidContainer.`drain(ItemStack container, int maxDrain, boolean doDrain)`
    `FluidStack` | BlockFluidFinite.`drain(World world, int x, int y, int z, boolean doDrain)`
    `FluidStack` | IFluidBlock.`drain(World world, int x, int y, int z, boolean doDrain)` Attempt to drain the block.
    `FluidStack` | BlockFluidClassic.`drain(World world, int x, int y, int z, boolean doDrain)`
    `FluidStack` | IFluidTank.`getFluid()`
    `FluidStack` | FluidTank.`getFluid()`
    `FluidStack` | IFluidContainerItem.`getFluid(ItemStack container)`
    `FluidStack` | ItemFluidContainer.`getFluid(ItemStack container)`
    `static FluidStack` | FluidContainerRegistry.`getFluidForFilledItem(ItemStack container)` Determines the fluid type and amount inside a container.
    `static FluidStack` | FluidRegistry.`getFluidStack(String fluidName, int amount)`
    `static FluidStack` | FluidStack.`loadFluidStackFromNBT(NBTTagCompound nbt)` This provides a safe method for retrieving a FluidStack - if the Fluid is invalid, the stack will return as null.

    Methods in net.minecraftforge.fluids with parameters of type FluidStack
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | FluidStack.`areFluidStackTagsEqual(FluidStack stack1, FluidStack stack2)` Determines if the NBT Tags are equal.
    `boolean` | FluidStack.`containsFluid(FluidStack other)` Determines if the Fluids are equal and this stack is larger.
    `static boolean` | FluidContainerRegistry.`containsFluid(ItemStack container, FluidStack fluid)` Determines if a container holds a specific fluid.
    `FluidStack` | IFluidHandler.`drain(ForgeDirection from, FluidStack resource, boolean doDrain)` Drains fluid out of internal tanks, distribution is left entirely to the IFluidHandler.
    `FluidStack` | TileFluidHandler.`drain(ForgeDirection from, FluidStack resource, boolean doDrain)`
    `int` | IFluidTank.`fill(FluidStack resource, boolean doFill)`
    `int` | FluidTank.`fill(FluidStack resource, boolean doFill)`
    `int` | IFluidHandler.`fill(ForgeDirection from, FluidStack resource, boolean doFill)` Fills fluid into internal tanks, distribution is left entirely to the IFluidHandler.
    `int` | TileFluidHandler.`fill(ForgeDirection from, FluidStack resource, boolean doFill)`
    `int` | IFluidContainerItem.`fill(ItemStack container, FluidStack resource, boolean doFill)`
    `int` | ItemFluidContainer.`fill(ItemStack container, FluidStack resource, boolean doFill)`
    `static ItemStack` | FluidContainerRegistry.`fillFluidContainer(FluidStack fluid, ItemStack container)` Attempts to fill an empty container with a fluid.
    `int` | Fluid.`getColor(FluidStack stack)`
    `int` | Fluid.`getDensity(FluidStack stack)`
    `static String` | FluidRegistry.`getFluidName(FluidStack stack)`
    `Icon` | Fluid.`getIcon(FluidStack stack)`
    `int` | Fluid.`getLuminosity(FluidStack stack)`
    `EnumRarity` | Fluid.`getRarity(FluidStack stack)`
    `int` | Fluid.`getTemperature(FluidStack stack)`
    `int` | Fluid.`getViscosity(FluidStack stack)`
    `boolean` | FluidStack.`isFluidEqual(FluidStack other)` Determines if the FluidIDs and NBT Tags are equal.
    `boolean` | FluidStack.`isFluidStackIdentical(FluidStack other)` Determines if the FluidIDs, Amounts, and NBT Tags are all equal.
    `boolean` | Fluid.`isGaseous(FluidStack stack)`
    `static boolean` | FluidContainerRegistry.`registerFluidContainer(FluidStack stack, ItemStack filledContainer)` Register a new fluid containing item that does not have an empty container.
    `static boolean` | FluidContainerRegistry.`registerFluidContainer(FluidStack stack, ItemStack filledContainer, ItemStack emptyContainer)` Register a new fluid containing item.
    `void` | FluidTank.`setFluid(FluidStack fluid)`
    `BlockFluidClassic` | BlockFluidClassic.`setFluidStack(FluidStack stack)`

    Constructors in net.minecraftforge.fluids with parameters of type FluidStack
    Constructor and Description
    `FluidContainerRegistry.FluidContainerData(FluidStack stack, ItemStack filledContainer, ItemStack emptyContainer)`
    `FluidContainerRegistry.FluidContainerData(FluidStack stack, ItemStack filledContainer, ItemStack emptyContainer, boolean nullEmpty)`
    `FluidEvent.FluidDrainingEvent(FluidStack fluid, World world, int x, int y, int z, IFluidTank tank)`
    `FluidEvent.FluidFillingEvent(FluidStack fluid, World world, int x, int y, int z, IFluidTank tank)`
    `FluidEvent.FluidMotionEvent(FluidStack fluid, World world, int x, int y, int z)`
    `FluidEvent.FluidSpilledEvent(FluidStack fluid, World world, int x, int y, int z)`
    `FluidEvent(FluidStack fluid, World world, int x, int y, int z)`
    `FluidStack(FluidStack stack, int amount)`
    `FluidTank(FluidStack stack, int capacity)`
    `FluidTankInfo(FluidStack fluid, int capacity)`