The path to the world directory.
ReadonlybarrowersThe barrowers map for the provider.
ReadonlychunksThe cached chunks for the provider.
ReadonlyidentifierThe identifier of the provider.
ReadonlypathThe path to the world directory.
The world that the provider belongs to.
Static ReadonlyidentifierThe identifier of the provider.
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 buffer data entry.
Reads a players data from the provider.
The uuid of the player to read.
The player data if found, otherwise null.
Rents a chunk from the provider, this will increment the barrower count for the chunk.
The hash of the chunk to rent.
The dimension to rent the chunk from.
Returns a chunk to the provider, this will decrement the barrower count for the chunk.
The hash of the chunk to return.
The dimension to return the chunk to.
Writes a buffer to the provider.
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
Create a new filesystem provider.