public interface Finisher extends GenerationPass
Populator, but only runs after the chunk and its neighbors have been
populated.| Modifier and Type | Field and Description |
|---|---|
static Finisher[] |
EMPTY_ARRAY |
| Modifier and Type | Method and Description |
|---|---|
void |
finish(net.daporkchop.lib.random.PRandom random,
ChunkManager level,
int blockX,
int blockZ)
Finishes a given chunk.
|
Identifier |
getId() |
initstatic final Finisher[] EMPTY_ARRAY
void finish(net.daporkchop.lib.random.PRandom random,
ChunkManager level,
int blockX,
int blockZ)
random - 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 populated chunks, centered around the chunk being finishesblockX - the X coordinate of the block column to finishblockZ - the Z coordinate of the block column to finishIdentifier getId()
getId in interface GenerationPassCopyright © 2020. All rights reserved.