All Implemented Interfaces:
Finisher, GenerationPass, Populator

public class TreePopulator extends AbstractTreePopulator
A populator that places simple trees, with a similar shape to vanilla oak/birch trees.
Author:
DaPorkchop_
  • Field Details

    • ID

      public static final org.cloudburstmc.api.util.Identifier ID
    • types

      protected WorldFeature[] types
  • Constructor Details

    • TreePopulator

      public TreePopulator()
  • Method Details

    • init0

      protected void init0(long levelSeed, long localSeed, StandardGenerator generator)
      Overrides:
      init0 in class AbstractTreePopulator
    • placeTree

      protected void placeTree(net.daporkchop.lib.random.PRandom random, org.cloudburstmc.api.level.ChunkManager level, int x, int y, int z)
      Specified by:
      placeTree in class AbstractTreePopulator
    • getId

      public org.cloudburstmc.api.util.Identifier getId()
      Returns:
      the identifier of this generation pass