public class IceSnowFinisher extends Object implements Finisher
| Modifier and Type | Field and Description |
|---|---|
protected IntRange |
height |
static Identifier |
ID |
EMPTY_ARRAY| Constructor and Description |
|---|
IceSnowFinisher() |
| 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() |
void |
init(long levelSeed,
long localSeed,
StandardGenerator generator)
Prepares this instance for actual generation.
|
public static final Identifier ID
protected IntRange height
public void init(long levelSeed,
long localSeed,
StandardGenerator generator)
GenerationPassinit in interface GenerationPasslevelSeed - the level seed, as defined in cloudburst.ymllocalSeed - a seed defined specifically for this generation passgenerator - the instance of StandardGenerator that this generation pass will be used bypublic void finish(net.daporkchop.lib.random.PRandom random,
ChunkManager level,
int blockX,
int blockZ)
Finisherfinish in interface Finisherrandom - 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 finishpublic Identifier getId()
getId in interface FinishergetId in interface GenerationPassCopyright © 2020. All rights reserved.