Class HugeTreesGenerator

Direct Known Subclasses:
ObjectJungleBigTree

public abstract class HugeTreesGenerator extends TreeGenerator
  • Field Details

    • baseHeight

      protected final int baseHeight
      The base height of the tree
    • woodMetadata

      protected final Block woodMetadata
      Sets the metadata for the wood blocks used
    • leavesMetadata

      protected final Block leavesMetadata
      Sets the metadata for the leaves used in huge trees
    • extraRandomHeight

      protected int extraRandomHeight
  • Constructor Details

    • HugeTreesGenerator

      public HugeTreesGenerator(int baseHeightIn, int extraRandomHeightIn, Block woodMetadataIn, Block leavesMetadataIn)
  • Method Details

    • getHeight

      protected int getHeight(NukkitRandom rand)
    • ensureGrowable

      protected boolean ensureGrowable(ChunkManager worldIn, NukkitRandom rand, Vector3 treePos, int p_175929_4_)
    • growLeavesLayerStrict

      protected void growLeavesLayerStrict(ChunkManager worldIn, Vector3 layerCenter, int width)
    • growLeavesLayer

      protected void growLeavesLayer(ChunkManager worldIn, Vector3 layerCenter, int width)