Readonly
chunksReadonly
dbThe database instance for the provider.
Readonly
identifierThe identifier of the provider.
Readonly
pathThe path of the provider.
The world that the provider belongs to.
Static
Readonly
identifierThe identifier of the provider.
Checks if the database has a chunk.
The chunk X coordinate.
The chunk Z coordinate.
The dimension to check for the chunk.
Called when the provider is saved.
Called when the provider is shutdown.
Called when the provider is started.
Reads the available blocks for a specified dimension.
The dimension to read the available blocks for.
An array of block positions.
Reads the available entities for a specified dimension.
The dimension to get the available entities for.
The available entities.
Reads a block from the provider.
The position of the block to read.
The dimension to read the block from.
Reads a buffer from the provider.
The key to read the buffer from.
The buffer data entry.
Reads an entity from the provider.
The unique identifier of the entity to read.
The dimension to read the entity from.
The entity data.
Reads a players data from the provider.
The uuid of the player to read.
The dimension to read the player from.
The player data if found, otherwise null.
Writes the available blocks for a specified dimension.
The dimension to write the available blocks for.
The positions of the blocks to write.
Writes the available entities for a specified dimension.
The dimension to write the available entities for.
The entities to write.
Writes a block to the provider.
The block to write.
The dimension to write the block to.
The block data.
Writes a buffer to the provider.
The key to write the buffer to.
The buffer data to write.
Write the chunk version to the database.
The chunk X coordinate.
The chunk Z coordinate.
The chunk version.
Writes an entity to the provider.
The entity data to write.
The dimension to write the entity to.
Writes a players data to the provider.
The player data to write.
The dimension to write the player to.
Static
buildBuild an actor data key for the database.
The unique identifier of the actor.
The buffer key for the actor data
Static
buildRead the actor list key for the database.
The dimension to read the actor list key for.
The buffer key for the actor list
Static
buildBuild a block key for the database.
The block position.
The dimension index.
The buffer key for the block
Static
buildBuild a block key for the database.
The buffer key for the block
Static
buildBuild a chunk version key for the database.
The chunk X coordinate.
The chunk Z coordinate.
The dimension index.
The buffer key for the chunk version
Static
buildBuild a subchunk key for the database.
The chunk X coordinate.
The subchunk Y coordinate.
The chunk Z coordinate.
The dimension index.
The buffer key for the subchunk
Static
createOptional
worldProperties: Partial<WorldProperties>Static
initializeInitializes the provider with the specified properties.
The serenity instance to use.
The properties to use for the provider.
The loaded chunks in the provider.