Class BigTreeGenerator


public class BigTreeGenerator extends WorldGenBigTree
  • Constructor Details

    • BigTreeGenerator

      public BigTreeGenerator(boolean bDoBlockNotify)
  • Method Details

    • genTreeLayer

      public void genTreeLayer(int par1, int par2, int par3, float par4, byte par5, int par6)
      Overrides:
      genTreeLayer in class WorldGenBigTree
    • checkBlockLine

      public int checkBlockLine(int[] par1ArrayOfInteger, int[] par2ArrayOfInteger)
      Checks a line of blocks in the world from the first coordinate to triplet to the second, returning the distance (in blocks) before a non-air, non-leaf block is encountered and/or the end is encountered.
      Overrides:
      checkBlockLine in class WorldGenBigTree
    • validTreeLocation

      public boolean validTreeLocation()
      Returns a boolean indicating whether or not the current location for the tree, spanning basePos to to the height limit, is valid.
      Overrides:
      validTreeLocation in class WorldGenBigTree