All Implemented Interfaces:
Finisher, GenerationPass, Populator

public class OrePopulator extends AbstractReplacingPopulator
Generates ore veins.
Author:
DaPorkchop_
  • Field Details

    • ID

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

      protected IntRange height
    • block

      protected BlockSelector block
    • size

      protected int size
  • Constructor Details

    • OrePopulator

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