Class ChancePopulator.Column
java.lang.Object
org.cloudburstmc.server.level.generator.standard.misc.AbstractGenerationPass
org.cloudburstmc.server.level.generator.standard.population.ChancePopulator
org.cloudburstmc.server.level.generator.standard.population.ChancePopulator.Column
- All Implemented Interfaces:
Finisher,GenerationPass,Populator
- Direct Known Subclasses:
AbstractReplacingPopulator,BlobPopulator,EndIslandPopulator,LakePopulator,SpikesPopulator,SubmergedOrePopulator
- Enclosing class:
- ChancePopulator
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cloudburstmc.server.level.generator.standard.population.ChancePopulator
ChancePopulator.ColumnNested 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
chanceFields inherited from interface org.cloudburstmc.server.level.generator.standard.population.Populator
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulate(net.daporkchop.lib.random.PRandom random, org.cloudburstmc.api.level.ChunkManager level, int blockX, int blockZ)Populates a given chunk.protected abstract voidpopulate0(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
init0Methods inherited from class org.cloudburstmc.server.level.generator.standard.misc.AbstractGenerationPass
init, setSeedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cloudburstmc.server.level.generator.standard.misc.GenerationPass
init
-
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:PopulatorPopulates a given chunk.- Parameters:
random- an instance ofPRandomfor generating random numbers, initialized with a seed based on chunk's positionlevel- aChunkManagercontaining only a 3x3 square of generated chunks, centered around the chunk being populatedblockX- the X coordinate of the block column to populateblockZ- 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)
-