Skip to content

WritableRegionWorldProvider ​

abstract class · pocketmine\world\format\io\region\WritableRegionWorldProvider · source

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) : void

saveChunk() ​

php
public function saveChunk(int $chunkX, int $chunkZ, \pocketmine\world\format\io\ChunkData $chunkData, int $dirtyFlags) : void

serializeChunk() protected ​

php
abstract protected function serializeChunk(\pocketmine\world\format\io\ChunkData $chunk) : string

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.