Class FeatureDarkOakTree

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

public class FeatureDarkOakTree extends FeatureHugeTree
Generates a dark oak tree.
Author:
DaPorkchop_
  • Field Details

    • DEFAULT_HEIGHT

      public static final IntRange DEFAULT_HEIGHT
  • Constructor Details

  • Method Details

    • canPlace

      protected boolean canPlace(org.cloudburstmc.api.level.ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height)
      Overrides:
      canPlace in class FeatureHugeTree
    • 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
    • placeTrunk

      protected void placeTrunk(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)
      Overrides:
      placeTrunk in class FeatureHugeTree
    • finish

      protected void finish(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)
      Overrides:
      finish in class FeatureHugeTree