Class AbstractTreeGrower

java.lang.Object
api.world.feature.AbstractTreeGrower
Direct Known Subclasses:
BigTreeGrower, BushGrower, JungleTreeGrower, StandardTreeGrower, SwampTreeGrower, TaigaPineTreeGrower, TaigaTreeGrower

public abstract class AbstractTreeGrower extends Object
  • Field Details

    • name

      public final String name
    • woodType

      protected final TreeGrowers.TreeWoodType woodType
    • minTreeHeight

      protected int minTreeHeight
    • maxTreeHeight

      protected int maxTreeHeight
  • Constructor Details

  • Method Details

    • growTree

      public abstract boolean growTree(World world, Random rand, int x, int y, int z, boolean isWorldGen)
    • setBlock

      protected void setBlock(World world, int x, int y, int z, int id, boolean notify)
    • setBlockAndMetadata

      protected void setBlockAndMetadata(World world, int x, int y, int z, int id, int meta, boolean notify)
    • isReplaceable

      protected boolean isReplaceable(World world, int x, int y, int z)
    • isLogReplaceable

      protected boolean isLogReplaceable(World world, int x, int y, int z)