All Implemented Interfaces:
Finisher, GenerationPass, Populator

public class SpikesPopulator extends ChancePopulator.Column
Places large spikes in the world.
Author:
DaPorkchop_
  • Field Details

    • ID

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

      protected BlockFilter on
    • replace

      protected BlockFilter replace
    • block

      protected BlockSelector block
    • height

      protected IntRange height
    • tallHeight

      protected IntRange tallHeight
    • tallChance

      protected double tallChance
  • Constructor Details

    • SpikesPopulator

      public SpikesPopulator()
  • 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 x, int z)
      Specified by:
      populate0 in class ChancePopulator.Column
    • getId

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