Class IceSnowFinisher
java.lang.Object
org.cloudburstmc.server.level.generator.standard.finish.IceSnowFinisher
- All Implemented Interfaces:
Finisher,GenerationPass
- Author:
- DaPorkchop_
-
Field Summary
FieldsFields inherited from interface org.cloudburstmc.server.level.generator.standard.finish.Finisher
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfinish(net.daporkchop.lib.random.PRandom random, org.cloudburstmc.api.level.ChunkManager level, int blockX, int blockZ)Finishes a given chunk.org.cloudburstmc.api.util.IdentifiergetId()voidinit(long levelSeed, long localSeed, StandardGenerator generator)Prepares this instance for actual generation.
-
Field Details
-
ID
public static final org.cloudburstmc.api.util.Identifier ID -
height
-
-
Constructor Details
-
IceSnowFinisher
public IceSnowFinisher()
-
-
Method Details
-
init
Description copied from interface:GenerationPassPrepares this instance for actual generation.- Specified by:
initin interfaceGenerationPass- Parameters:
levelSeed- the level seed, as defined in cloudburst.ymllocalSeed- a seed defined specifically for this generation passgenerator- the instance ofStandardGeneratorthat this generation pass will be used by
-
finish
public void finish(net.daporkchop.lib.random.PRandom random, org.cloudburstmc.api.level.ChunkManager level, int blockX, int blockZ)Description copied from interface:FinisherFinishes a given chunk.- Specified by:
finishin interfaceFinisher- Parameters:
random- an instance ofPRandomfor generating random numbers, initialized with a seed based on chunk's positionlevel- aChunkManagercontaining 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 finish
-
getId
public org.cloudburstmc.api.util.Identifier getId()- Specified by:
getIdin interfaceFinisher- Specified by:
getIdin interfaceGenerationPass- Returns:
- the identifier of this generation pass
-