Decorator.SkipRegistrationAsPopulatorPopulator.SkipRegistrationAsFinisher| Modifier and Type | Field and Description |
|---|---|
static Identifier |
ID |
static NextGenerationPass |
INSTANCE |
EMPTY_ARRAY| Constructor and Description |
|---|
NextGenerationPass() |
| Modifier and Type | Method and Description |
|---|---|
void |
decorate(net.daporkchop.lib.random.PRandom random,
IChunk chunk,
int x,
int z)
Decorates a given chunk.
|
Identifier |
getId() |
void |
populate(net.daporkchop.lib.random.PRandom random,
ChunkManager level,
int blockX,
int blockZ)
Populates a given chunk.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinishinitpublic static final Identifier ID
public static final NextGenerationPass INSTANCE
public void decorate(net.daporkchop.lib.random.PRandom random,
IChunk chunk,
int x,
int z)
Decoratordecorate in interface Decoratorrandom - an instance of PRandom for generating random numbers, initialized with a seed based on chunk's positionchunk - the chunk to be decoratedx - the X coordinate of the block column in the chunk to decoratez - the Z coordinate of the block column in the chunk to decoratepublic void populate(net.daporkchop.lib.random.PRandom random,
ChunkManager level,
int blockX,
int blockZ)
Populatorpopulate in interface Decoratorpopulate in interface Populatorrandom - an instance of PRandom for generating random numbers, initialized with a seed based on chunk's positionlevel - a ChunkManager containing 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 populatepublic Identifier getId()
Copyright © 2020. All rights reserved.