Optional
palette: number[]The optional palette.
Optional
biomes: number[]The optional biomes.
Optional
size: [number, number, number]The size of the biome storage.
Readonly
biomesThe biomes of the storage.
Readonly
paletteThe palette of the storage.
Readonly
sizeThe size of the block storage.
Static
Readonly
MAX_The total maximum chunk size.
Static
Readonly
MAX_The maximum chunk size in the x direction.
Static
Readonly
MAX_The maximum chunk size in the y direction.
Static
Readonly
MAX_The maximum chunk size in the z direction.
Gets the biome at the given block coordinates.
The x coordinate of the block.
The y coordinate of the block.
The z coordinate of the block.
The biome.
Calculates the index of the block position.
The x coordinate of the block.
The y coordinate of the block.
The z coordinate of the block.
The index of the block.
Checks if the block storage is empty.
Sets the biome at the given block coordinates.
The x coordinate of the block.
The y coordinate of the block.
The z coordinate of the block.
The biome.
Static
deserializeDeserializes the biome storage from a binary stream.
The binary stream to read from.
The biome storage.
Static
serializeSerializes the biome storage to a binary stream.
The binary stream to write to.
Creates a new biome storage.