Optionalproperties: Partial<TerrainGeneratorProperties>The properties to use for the generator.
ReadonlydimensionThe dimension of the generator.
ReadonlyidentifierThe identifier of the generator.
ReadonlypropertiesThe properties of the generator.
ReadonlyqueueThe chunk queue for the generator.
ReadonlyworkerThe worker thread for the generator, if applicable.
Static ReadonlyidentifierThe identifier of the generator.
StaticworkerThe terrain worker for the generator, if applicable.
Generates a chunk at the specified coordinates.
The chunk x coordinate.
The chunk z coordinate.
ProtectedhandoffHands off the chunk generation to the worker thread.
The chunk x coordinate.
The chunk z coordinate.
A promise that resolves with the generated chunk.
OptionalpopulateCalled after a chunk is generated to populate it with features.
Creates a new terrain generator with the specified properties.