From dc3df3edd5843bde0c1335d6a8e460b2c832aa48 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Sat, 17 Jun 2017 08:12:18 +0300 Subject: full project files --- .../minecraftforge/fluids/BlockFluidFinite.html | 470 +++++++++++++++++++++ 1 file changed, 470 insertions(+) create mode 100644 javadoc/net/minecraftforge/fluids/BlockFluidFinite.html (limited to 'javadoc/net/minecraftforge/fluids/BlockFluidFinite.html') diff --git a/javadoc/net/minecraftforge/fluids/BlockFluidFinite.html b/javadoc/net/minecraftforge/fluids/BlockFluidFinite.html new file mode 100644 index 0000000..aa1e059 --- /dev/null +++ b/javadoc/net/minecraftforge/fluids/BlockFluidFinite.html @@ -0,0 +1,470 @@ + + + + + +BlockFluidFinite (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.fluids
+

Class BlockFluidFinite

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    IFluidBlock
    +
    +
    +
    +
    public class BlockFluidFinite
    +extends BlockFluidBase
    +
    This is a cellular-automata based finite fluid block implementation. + + It is highly recommended that you use/extend this class for finite fluid blocks.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BlockFluidFinite

        +
        public BlockFluidFinite(Fluid fluid,
        +                Material material)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + + + + + +
        +
      • +

        canCollideCheck

        +
        public boolean canCollideCheck(int meta,
        +                      boolean fullHit)
        +
        +
        Specified by:
        +
        canCollideCheck in class BlockFluidBase
        +
        +
      • +
      + + + + + + + +
        +
      • +

        updateTick

        +
        public void updateTick(World world,
        +              int x,
        +              int y,
        +              int z,
        +              java.util.Random rand)
        +
        +
        Overrides:
        +
        updateTick in class Block
        +
        +
      • +
      + + + +
        +
      • +

        tryToFlowVerticallyInto

        +
        public int tryToFlowVerticallyInto(World world,
        +                          int x,
        +                          int y,
        +                          int z,
        +                          int amtToInput)
        +
      • +
      + + + +
        +
      • +

        drain

        +
        public FluidStack drain(World world,
        +               int x,
        +               int y,
        +               int z,
        +               boolean doDrain)
        +
        Description copied from interface: IFluidBlock
        +
        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.
        +
        doDrain - If false, the drain will only be simulated.
        +
        Returns:
        +
      • +
      + + + +
        +
      • +

        canDrain

        +
        public boolean canDrain(World world,
        +               int x,
        +               int y,
        +               int z)
        +
        Description copied from interface: IFluidBlock
        +
        Check to see if a block can be drained. This method should be called by devices such as + pumps.
        +
        Returns:
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3