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 --- .../minecraftforge/fluids/TileFluidHandler.html | 491 +++++++++++++++++++++ 1 file changed, 491 insertions(+) create mode 100644 javadoc/net/minecraftforge/fluids/TileFluidHandler.html (limited to 'javadoc/net/minecraftforge/fluids/TileFluidHandler.html') diff --git a/javadoc/net/minecraftforge/fluids/TileFluidHandler.html b/javadoc/net/minecraftforge/fluids/TileFluidHandler.html new file mode 100644 index 0000000..50a53aa --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/TileFluidHandler.html @@ -0,0 +1,491 @@ + + + + + +TileFluidHandler (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.fluids
+

Class TileFluidHandler

+
+
+ +
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TileFluidHandler

        +
        public TileFluidHandler()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + + + + + +
        +
      • +

        fill

        +
        public int fill(ForgeDirection from,
        +       FluidStack resource,
        +       boolean doFill)
        +
        Description copied from interface: IFluidHandler
        +
        Fills fluid into internal tanks, distribution is left entirely to the IFluidHandler.
        +
        +
        Specified by:
        +
        fill in interface IFluidHandler
        +
        Parameters:
        from - Orientation the Fluid is pumped in from.
        resource - FluidStack representing the Fluid and maximum amount of fluid to be filled.
        doFill - If false, fill will only be simulated.
        +
        Returns:
        Amount of resource that was (or would have been, if simulated) filled.
        +
      • +
      + + + +
        +
      • +

        drain

        +
        public FluidStack drain(ForgeDirection from,
        +               FluidStack resource,
        +               boolean doDrain)
        +
        Description copied from interface: IFluidHandler
        +
        Drains fluid out of internal tanks, distribution is left entirely to the IFluidHandler.
        +
        +
        Specified by:
        +
        drain in interface IFluidHandler
        +
        Parameters:
        from - Orientation the Fluid is drained to.
        resource - FluidStack representing the Fluid and maximum amount of fluid to be drained.
        doDrain - If false, drain will only be simulated.
        +
        Returns:
        FluidStack representing the Fluid and amount that was (or would have been, if + simulated) drained.
        +
      • +
      + + + +
        +
      • +

        drain

        +
        public FluidStack drain(ForgeDirection from,
        +               int maxDrain,
        +               boolean doDrain)
        +
        Description copied from interface: IFluidHandler
        +
        Drains fluid out of internal tanks, distribution is left entirely to the IFluidHandler. + + This method is not Fluid-sensitive.
        +
        +
        Specified by:
        +
        drain in interface IFluidHandler
        +
        Parameters:
        from - Orientation the fluid is drained to.
        maxDrain - Maximum amount of fluid to drain.
        doDrain - If false, drain will only be simulated.
        +
        Returns:
        FluidStack representing the Fluid and amount that was (or would have been, if + simulated) drained.
        +
      • +
      + + + +
        +
      • +

        canFill

        +
        public boolean canFill(ForgeDirection from,
        +              Fluid fluid)
        +
        Description copied from interface: IFluidHandler
        +
        Returns true if the given fluid can be inserted into the given direction. + + More formally, this should return true if fluid is able to enter from the given direction.
        +
        +
        Specified by:
        +
        canFill in interface IFluidHandler
        +
        +
      • +
      + + + +
        +
      • +

        canDrain

        +
        public boolean canDrain(ForgeDirection from,
        +               Fluid fluid)
        +
        Description copied from interface: IFluidHandler
        +
        Returns true if the given fluid can be extracted from the given direction. + + More formally, this should return true if fluid is able to leave from the given direction.
        +
        +
        Specified by:
        +
        canDrain in interface IFluidHandler
        +
        +
      • +
      + + + +
        +
      • +

        getTankInfo

        +
        public FluidTankInfo[] getTankInfo(ForgeDirection from)
        +
        Description copied from interface: IFluidHandler
        +
        Returns an array of objects which represent the internal tanks. These objects cannot be used + to manipulate the internal tanks. See FluidTankInfo.
        +
        +
        Specified by:
        +
        getTankInfo in interface IFluidHandler
        +
        Parameters:
        from - Orientation determining which tanks should be queried.
        +
        Returns:
        Info for the relevant internal tanks.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3