API reference / @jsprismarine/chunkgen / ChunkStatusRegressionError
Class: ChunkStatusRegressionError
Defined in: StagedChunk.ts:30
Raised when a chunk is asked to move to a status at or below the one it already holds.
Extends
Constructors
Constructor
new ChunkStatusRegressionError(
from,to):ChunkStatusRegressionError
Defined in: StagedChunk.ts:33
Parameters
from
"empty" | "structure_starts" | "structure_references" | "biomes" | "terrain" | "features" | "initialize_light" | "light" | "spawn" | "full"
to
"empty" | "structure_starts" | "structure_references" | "biomes" | "terrain" | "features" | "initialize_light" | "light" | "spawn" | "full"
Returns
ChunkStatusRegressionError
Overrides
Error.constructor
Properties
from
readonlyfrom:"empty"|"structure_starts"|"structure_references"|"biomes"|"terrain"|"features"|"initialize_light"|"light"|"spawn"|"full"
Defined in: StagedChunk.ts:34
name
name:
string='ChunkStatusRegressionError'
Defined in: StagedChunk.ts:31
Overrides
Error.name
to
readonlyto:"empty"|"structure_starts"|"structure_references"|"biomes"|"terrain"|"features"|"initialize_light"|"light"|"spawn"|"full"
Defined in: StagedChunk.ts:35