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

Interface IFluidBlock

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

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      booleancanDrain(World world, + int x, + int y, + int z) +
      Check to see if a block can be drained.
      +
      FluidStackdrain(World world, + int x, + int y, + int z, + boolean doDrain) +
      Attempt to drain the block.
      +
      floatgetFilledPercentage(World world, + int x, + int y, + int z) +
      Returns the amount of a single block is filled.
      +
      FluidgetFluid() +
      Returns the Fluid associated with this Block.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getFluid

        +
        Fluid getFluid()
        +
        Returns the Fluid associated with this Block.
        +
      • +
      + + + +
        +
      • +

        drain

        +
        FluidStack drain(World world,
        +               int x,
        +               int y,
        +               int z,
        +               boolean doDrain)
        +
        Attempt to drain the block. This method should be called by devices such as pumps. + + NOTE: The block is intended to handle its own state changes.
        +
        Parameters:
        doDrain - If false, the drain will only be simulated.
        +
        Returns:
        +
      • +
      + + + +
        +
      • +

        canDrain

        +
        boolean canDrain(World world,
        +               int x,
        +               int y,
        +               int z)
        +
        Check to see if a block can be drained. This method should be called by devices such as + pumps.
        +
        Parameters:
        doDrain - If false, the drain will only be simulated.
        +
        Returns:
        +
      • +
      + + + +
        +
      • +

        getFilledPercentage

        +
        float getFilledPercentage(World world,
        +                        int x,
        +                        int y,
        +                        int z)
        +
        Returns the amount of a single block is filled. Value between 0 and 1. + 1 meaning the entire 1x1x1 cube is full, 0 meaning completely empty. + + If the return value is negative. It will be treated as filling the block + from the top down instead of bottom up.
        +
        Returns:
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3