Readonly
buffersThe buffer properties that exist for the world.
Readonly
chunksThe loaded chunks in the provider.
Readonly
entitiesThe entities that exist for the world.
Readonly
identifierThe identifier of the provider.
Readonly
playersThe players that exist for the world.
The world that the provider belongs to.
Static
Readonly
identifierThe identifier of the provider.
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.
An array of block positions.
Reads the available entities for a specified dimension.
The available entities.
Reads a block from the provider.
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.
Writes the available entities for a specified dimension.
Writes a block to the provider.
The block data.
Writes a buffer to the provider.
The key to write the buffer to.
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
createOptional
worldProperties: WorldPropertiesStatic
initializeInitializes the provider with the specified properties.
Create a new world provider.