All Implemented Interfaces:
Finisher, GenerationPass, Populator

public class SpringPopulator extends AbstractReplacingPopulator
Author:
DaPorkchop_
  • Field Details

    • ID

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

      protected IntRange height
    • neighbor

      protected BlockFilter neighbor
    • neighborCount

      protected IntRange neighborCount
    • airCount

      protected IntRange airCount
    • block

      protected BlockSelector block
  • Constructor Details

    • SpringPopulator

      public SpringPopulator()
  • Method Details

    • init0

      protected void init0(long levelSeed, long localSeed, StandardGenerator generator)
      Overrides:
      init0 in class AbstractReplacingPopulator
    • 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