From 0427ab89f1753a44b30cbc35ce021cbbdc845109 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Thu, 10 Aug 2017 18:52:45 +0300 Subject: fix missing source folder --- javadoc/net/minecraftforge/fluids/IFluidTank.html | 295 ++++++++++++++++++++++ 1 file changed, 295 insertions(+) create mode 100644 javadoc/net/minecraftforge/fluids/IFluidTank.html (limited to 'javadoc/net/minecraftforge/fluids/IFluidTank.html') diff --git a/javadoc/net/minecraftforge/fluids/IFluidTank.html b/javadoc/net/minecraftforge/fluids/IFluidTank.html new file mode 100644 index 0000000..9e87672 --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/IFluidTank.html @@ -0,0 +1,295 @@ + + + + + +IFluidTank (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.fluids
+

Interface IFluidTank

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    FluidTank
    +
    +
    +
    +
    public interface IFluidTank
    +
    A tank is the unit of interaction with Fluid inventories. + + A reference implementation can be found at FluidTank.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getFluid

        +
        FluidStack getFluid()
        +
        Returns:
        FluidStack representing the fluid in the tank, null if the tank is empty.
        +
      • +
      + + + +
        +
      • +

        getFluidAmount

        +
        int getFluidAmount()
        +
        Returns:
        Current amount of fluid in the tank.
        +
      • +
      + + + +
        +
      • +

        getCapacity

        +
        int getCapacity()
        +
        Returns:
        Capacity of this fluid tank.
        +
      • +
      + + + +
        +
      • +

        getInfo

        +
        FluidTankInfo getInfo()
        +
        Returns a wrapper object FluidTankInfo containing the capacity of the tank and the + FluidStack it holds. + + Should prevent manipulation of the IFluidTank. See FluidTank.
        +
        Returns:
        State information for the IFluidTank.
        +
      • +
      + + + +
        +
      • +

        fill

        +
        int fill(FluidStack resource,
        +       boolean doFill)
        +
        Parameters:
        resource - FluidStack attempting to fill the tank.
        doFill - If false, the fill will only be simulated.
        +
        Returns:
        Amount of fluid that was accepted by the tank.
        +
      • +
      + + + +
        +
      • +

        drain

        +
        FluidStack drain(int maxDrain,
        +               boolean doDrain)
        +
        Parameters:
        maxDrain - Maximum amount of fluid to be removed from the container.
        doFill - If false, the fill will only be simulated.
        +
        Returns:
        Amount of fluid that was removed from the tank.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3