Class FeatureSwampTree

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

public class FeatureSwampTree extends FeatureNormalTree
Generates normal trees, but with vines on the sides.
Author:
DaPorkchop_
  • Field Details

    • DEFAULT_HEIGHT

      public static final IntRange DEFAULT_HEIGHT
  • Constructor Details

  • Method Details

    • 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 FeatureNormalTree
    • placeVines

      protected void placeVines(org.cloudburstmc.api.level.ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, org.cloudburstmc.api.util.Direction face, org.cloudburstmc.api.block.BlockState leaves)