All Implemented Interfaces:
Finisher, GenerationPass, Populator

public class BushPopulator extends AbstractTreePopulator
Places very short "trees", consisting of only a single log with a pile of leaves around it.
Author:
DaPorkchop_
  • Field Details

    • ID

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

      protected BlockSelector log
    • leaves

      protected BlockSelector leaves
    • size

      protected int size
  • Constructor Details

    • BushPopulator

      public BushPopulator()
  • 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