Class ChancePopulator.Column

All Implemented Interfaces:
Finisher, GenerationPass, Populator
Direct Known Subclasses:
AbstractReplacingPopulator, BlobPopulator, EndIslandPopulator, LakePopulator, SpikesPopulator, SubmergedOrePopulator
Enclosing class:
ChancePopulator

public abstract static class ChancePopulator.Column extends ChancePopulator
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.cloudburstmc.server.level.generator.standard.population.ChancePopulator

    ChancePopulator.Column

    Nested classes/interfaces inherited from interface org.cloudburstmc.server.level.generator.standard.population.Populator

    Populator.SkipRegistrationAsFinisher
  • Field Summary

    Fields inherited from class org.cloudburstmc.server.level.generator.standard.population.ChancePopulator

    chance

    Fields inherited from interface org.cloudburstmc.server.level.generator.standard.population.Populator

    EMPTY_ARRAY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    populate​(net.daporkchop.lib.random.PRandom random, org.cloudburstmc.api.level.ChunkManager level, int blockX, int blockZ)
    Populates a given chunk.
    protected abstract void
    populate0​(net.daporkchop.lib.random.PRandom random, org.cloudburstmc.api.level.ChunkManager level, int blockX, int blockZ)
     

    Methods inherited from class org.cloudburstmc.server.level.generator.standard.population.ChancePopulator

    init0

    Methods inherited from class org.cloudburstmc.server.level.generator.standard.misc.AbstractGenerationPass

    init, setSeed

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.cloudburstmc.server.level.generator.standard.misc.GenerationPass

    init

    Methods inherited from interface org.cloudburstmc.server.level.generator.standard.population.Populator

    finish, getId
  • Constructor Details

    • Column

      public Column()
  • Method Details

    • populate

      public final void populate(net.daporkchop.lib.random.PRandom random, org.cloudburstmc.api.level.ChunkManager level, int blockX, int blockZ)
      Description copied from interface: Populator
      Populates a given chunk.
      Parameters:
      random - an instance of PRandom for generating random numbers, initialized with a seed based on chunk's position
      level - a ChunkManager containing only a 3x3 square of generated chunks, centered around the chunk being populated
      blockX - the X coordinate of the block column to populate
      blockZ - the Z coordinate of the block column to populate
    • populate0

      protected abstract void populate0(net.daporkchop.lib.random.PRandom random, org.cloudburstmc.api.level.ChunkManager level, int blockX, int blockZ)