All Implemented Interfaces:
Finisher, GenerationPass, Populator

public class LakePopulator extends ChancePopulator.Column
Author:
DaPorkchop_
  • Field Details

    • ID

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

      protected static final net.daporkchop.lib.common.pool.handle.HandledPool<BitSet> BITSET_CACHE
    • height

      protected IntRange height
    • block

      protected BlockSelector block
    • border

      protected BlockSelector border
    • surfaceBlocks

      protected BlockFilter surfaceBlocks
    • replaceWithSurface

      protected BlockFilter replaceWithSurface
  • Constructor Details

    • LakePopulator

      public LakePopulator()
  • Method Details

    • init0

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

      protected void populate0(net.daporkchop.lib.random.PRandom random, org.cloudburstmc.api.level.ChunkManager level, int blockX, int blockZ)
      Specified by:
      populate0 in class ChancePopulator.Column
    • getId

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