Optional
properties: Partial<TerrainGeneratorProperties>The properties to use for the generator.
Readonly
dimensionThe dimension of the generator.
Readonly
identifierThe identifier of the generator.
Readonly
propertiesThe properties of the generator.
Readonly
queueThe chunk queue for the generator.
Readonly
workerThe worker thread for the generator, if applicable.
Static
Readonly
identifierThe identifier of the generator.
Static
workerThe terrain worker for the generator, if applicable.
Generates a chunk at the specified coordinates.
Protected
handoffHands off the chunk generation to the worker thread.
The chunk x coordinate.
The chunk z coordinate.
A promise that resolves with the generated chunk.
Optional
populateCalled after a chunk is generated to populate it with features.
Creates a new terrain generator with the specified properties.