WritableRegionWorldProvider
Extends RegionWorldProvider
Implements WritableWorldProvider
This class implements the stuff needed for general region-based world providers to support saving. While this isn't used at the time of writing, it may come in useful if Java 1.13 Anvil support is ever implemented, or for a custom world format based on the region concept.
Methods
generate()
php
public static function generate(string $path, string $name, \pocketmine\world\WorldCreationOptions $options) : voidsaveChunk()
php
public function saveChunk(int $chunkX, int $chunkZ, \pocketmine\world\format\io\ChunkData $chunkData, int $dirtyFlags) : voidserializeChunk() protected
php
abstract protected function serializeChunk(\pocketmine\world\format\io\ChunkData $chunk) : string