ReadonlychunksReadonlydbThe database instance for the provider.
ReadonlyidentifierThe identifier of the provider.
ReadonlypathThe path of the provider.
The world that the provider belongs to.
Static ReadonlyidentifierThe 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 a buffer from the provider.
The key to read the buffer from.
The buffer data entry.
Reads a players data from the provider.
The uuid of the player to read.
The player data if found, otherwise null.
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 a players data to the provider.
The uuid of the player to write.
The player data to write.
StaticcreateOptionalworldProperties: Partial<WorldProperties>StaticcreateCreates a world from a given path.
The serenity instance to use.
The path to load the world from.
OptionalworldProperties: Partial<WorldProperties>The world properties to use for the world.
StaticinitializeInitializes the provider with the specified properties.
The serenity instance to use.
The properties to use for the provider.
Staticload
The cached chunks for the provider.