Class TreeGrowerForest

java.lang.Object
api.world.feature.TreeGrower
btw.world.feature.trees.grower.TreeGrowerForest

public class TreeGrowerForest extends TreeGrower
  • Field Details

    • minTreeHeight

      public int minTreeHeight
    • maxTreeHeight

      public int maxTreeHeight
    • woodBlockID

      public int woodBlockID
    • woodMetadata

      public int woodMetadata
    • stumpBlockID

      public int stumpBlockID
    • stumpMetadata

      public int stumpMetadata
    • leavesBlockID

      public int leavesBlockID
    • leavesMetadata

      public int leavesMetadata
    • growVines

      public boolean growVines
    • growCocoa

      public boolean growCocoa
  • Constructor Details

    • TreeGrowerForest

      public TreeGrowerForest(int minTreeHeight, int maxTreeHeight, int woodBlockID, int woodMetadata, int stumpBlockID, int stumpMetadata, int leavesBlockID, int leavesMetadata, boolean growVines, boolean growCocoa)
  • Method Details

    • generate

      @Environment(CLIENT) public boolean generate(World par1World, Random par2Random, int par3, int par4, int par5)
    • growTree

      public boolean growTree(World world, Random rand, int x, int y, int z, boolean isWorldGen)
      Description copied from class: TreeGrower
      Grow a tree at the specified location
      Specified by:
      growTree in class TreeGrower
      isWorldGen - Whether block updates should be triggered when growing the tree. This should be true when grown from a sapling and false when generated at world gen
      Returns: