Class FeatureHugeSpruceTree

All Implemented Interfaces:
Predicate<org.cloudburstmc.api.block.BlockState>, WorldFeature, BlockFilter
Direct Known Subclasses:
FeatureHugePineTree

public class FeatureHugeSpruceTree extends FeatureHugeTree
Generates a huge spruce tree.
Author:
DaPorkchop_
  • Field Details

    • DEFAULT_HEIGHT

      public static final IntRange DEFAULT_HEIGHT
  • Constructor Details

  • Method Details

    • placeLeaves

      protected void placeLeaves(org.cloudburstmc.api.level.ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height, org.cloudburstmc.api.block.BlockState log, org.cloudburstmc.api.block.BlockState leaves)
      Specified by:
      placeLeaves in class FeatureAbstractTree
    • leafHeightOffset

      protected int leafHeightOffset(net.daporkchop.lib.random.PRandom random, int height)