From 877312184c472d9845e5ef1008bc538f4634059f Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Thu, 10 Aug 2017 18:50:56 +0300 Subject: fix missing source folder --- javadoc/net/minecraftforge/fluids/FluidTank.html | 507 ----------------------- 1 file changed, 507 deletions(-) delete mode 100644 javadoc/net/minecraftforge/fluids/FluidTank.html (limited to 'javadoc/net/minecraftforge/fluids/FluidTank.html') diff --git a/javadoc/net/minecraftforge/fluids/FluidTank.html b/javadoc/net/minecraftforge/fluids/FluidTank.html deleted file mode 100644 index bd7c390..0000000 --- a/javadoc/net/minecraftforge/fluids/FluidTank.html +++ /dev/null @@ -1,507 +0,0 @@ - - - - - -FluidTank (Forge API) - - - - - - - -
- - - - - -
- - - -
-
net.minecraftforge.fluids
-

Class FluidTank

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    IFluidTank
    -
    -
    -
    -
    public class FluidTank
    -extends java.lang.Object
    -implements IFluidTank
    -
    Reference implementation of IFluidTank. Use/extend this or implement your own.
    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        FluidTank

        -
        public FluidTank(int capacity)
        -
      • -
      - - - -
        -
      • -

        FluidTank

        -
        public FluidTank(FluidStack stack,
        -         int capacity)
        -
      • -
      - - - -
        -
      • -

        FluidTank

        -
        public FluidTank(Fluid fluid,
        -         int amount,
        -         int capacity)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - - - - - -
        -
      • -

        setFluid

        -
        public void setFluid(FluidStack fluid)
        -
      • -
      - - - -
        -
      • -

        setCapacity

        -
        public void setCapacity(int capacity)
        -
      • -
      - - - -
        -
      • -

        getFluid

        -
        public FluidStack getFluid()
        -
        -
        Specified by:
        -
        getFluid in interface IFluidTank
        -
        Returns:
        FluidStack representing the fluid in the tank, null if the tank is empty.
        -
      • -
      - - - -
        -
      • -

        getFluidAmount

        -
        public int getFluidAmount()
        -
        -
        Specified by:
        -
        getFluidAmount in interface IFluidTank
        -
        Returns:
        Current amount of fluid in the tank.
        -
      • -
      - - - -
        -
      • -

        getCapacity

        -
        public int getCapacity()
        -
        -
        Specified by:
        -
        getCapacity in interface IFluidTank
        -
        Returns:
        Capacity of this fluid tank.
        -
      • -
      - - - -
        -
      • -

        getInfo

        -
        public FluidTankInfo getInfo()
        -
        Description copied from interface: IFluidTank
        -
        Returns a wrapper object FluidTankInfo containing the capacity of the tank and the - FluidStack it holds. - - Should prevent manipulation of the IFluidTank. See FluidTank.
        -
        -
        Specified by:
        -
        getInfo in interface IFluidTank
        -
        Returns:
        State information for the IFluidTank.
        -
      • -
      - - - -
        -
      • -

        fill

        -
        public int fill(FluidStack resource,
        -       boolean doFill)
        -
        -
        Specified by:
        -
        fill in interface IFluidTank
        -
        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

        -
        public FluidStack drain(int maxDrain,
        -               boolean doDrain)
        -
        -
        Specified by:
        -
        drain in interface IFluidTank
        -
        Parameters:
        maxDrain - Maximum amount of fluid to be removed from the container.
        -
        Returns:
        Amount of fluid that was removed from the tank.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - -- cgit v1.2.3