## Uses of Class
net.minecraftforge.liquids.LiquidStack

- Packages that use LiquidStack
  Package | Description
  --- | ---
  net.minecraftforge.liquids |

- - ### Uses of LiquidStack in net.minecraftforge.liquids

    Fields in net.minecraftforge.liquids declared as LiquidStack
    Modifier and Type | Field and Description
    --- | ---
    `LiquidStack` | LiquidEvent.`liquid`
    `LiquidStack` | LiquidDictionary.LiquidRegisterEvent.`Liquid`
    `LiquidStack` | LiquidContainerData.`stillLiquid`

    Methods in net.minecraftforge.liquids that return LiquidStack
    Modifier and Type | Method and Description
    --- | ---
    `LiquidStack` | LiquidStack.`copy()`
    `LiquidStack` | ITankContainer.`drain(ForgeDirection from, int maxDrain, boolean doDrain)` Drains liquid out of internal tanks, distribution is left to the ITankContainer.
    `LiquidStack` | ILiquidTank.`drain(int maxDrain, boolean doDrain)`
    `LiquidStack` | LiquidTank.`drain(int maxDrain, boolean doDrain)`
    `LiquidStack` | ITankContainer.`drain(int tankIndex, int maxDrain, boolean doDrain)` Drains liquid out of the specified internal tank.
    `LiquidStack` | ILiquidTank.`getLiquid()`
    `LiquidStack` | LiquidTank.`getLiquid()`
    `static LiquidStack` | LiquidDictionary.`getLiquid(String name, int amount)` Returns the liquid matching the name, if such a liquid exists.
    `static LiquidStack` | LiquidContainerRegistry.`getLiquidForFilledItem(ItemStack filledContainer)`
    `static LiquidStack` | LiquidDictionary.`getOrCreateLiquid(String name, LiquidStack liquid)` When creating liquids you should call this function.
    `static LiquidStack` | LiquidStack.`loadLiquidStackFromNBT(NBTTagCompound nbt)` Reads a liquid stack from the passed nbttagcompound and returns it.

    Methods in net.minecraftforge.liquids that return types with arguments of type LiquidStack
    Modifier and Type | Method and Description
    --- | ---
    `static Map<String,LiquidStack>` | LiquidDictionary.`getLiquids()` Get an immutable list of the liquids defined

    Methods in net.minecraftforge.liquids with parameters of type LiquidStack
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | LiquidContainerRegistry.`containsLiquid(ItemStack filledContainer, LiquidStack liquid)`
    `boolean` | LiquidStack.`containsLiquid(LiquidStack other)`
    `int` | ITankContainer.`fill(ForgeDirection from, LiquidStack resource, boolean doFill)` Fills liquid into internal tanks, distribution is left to the ITankContainer.
    `int` | ITankContainer.`fill(int tankIndex, LiquidStack resource, boolean doFill)` Fills liquid into the specified internal tank.
    `int` | ILiquidTank.`fill(LiquidStack resource, boolean doFill)`
    `int` | LiquidTank.`fill(LiquidStack resource, boolean doFill)`
    `static ItemStack` | LiquidContainerRegistry.`fillLiquidContainer(LiquidStack liquid, ItemStack emptyContainer)`
    `static LiquidStack` | LiquidDictionary.`getOrCreateLiquid(String name, LiquidStack liquid)` When creating liquids you should call this function.
    `ILiquidTank` | ITankContainer.`getTank(ForgeDirection direction, LiquidStack type)` Return the tank that this tank container desired to be used for the specified liquid type from the specified direction
    `boolean` | LiquidStack.`isLiquidEqual(LiquidStack other)`
    `void` | LiquidTank.`setLiquid(LiquidStack liquid)`

    Constructors in net.minecraftforge.liquids with parameters of type LiquidStack
    Constructor and Description
    `LiquidContainerData(LiquidStack stillLiquid, ItemStack filled, ItemStack container)`
    `LiquidDictionary.LiquidRegisterEvent(String name, LiquidStack liquid)`
    `LiquidEvent.LiquidDrainingEvent(LiquidStack liquid, World world, int x, int y, int z, ILiquidTank tank)`
    `LiquidEvent.LiquidFillingEvent(LiquidStack liquid, World world, int x, int y, int z, ILiquidTank tank)`
    `LiquidEvent.LiquidMotionEvent(LiquidStack liquid, World world, int x, int y, int z)`
    `LiquidEvent.LiquidSpilledEvent(LiquidStack liquid, World world, int x, int y, int z)`
    `LiquidEvent(LiquidStack liquid, World world, int x, int y, int z)`
    `LiquidTank(LiquidStack liquid, int capacity)`
    `LiquidTank(LiquidStack liquid, int capacity, TileEntity tile)`