Skip to content

WritableWorldProviderManagerEntry ​

final class · pocketmine\world\format\io\WritableWorldProviderManagerEntry · source

Extends WorldProviderManagerEntry

Methods ​

__construct() ​

php
public function __construct(\Closure $isValid, \Closure $fromPath, \Closure $generate)

fromPath() ​

php
public function fromPath(string $path, \Logger $logger) : \pocketmine\world\format\io\WritableWorldProvider

generate() ​

php
public function generate(string $path, string $name, \pocketmine\world\WorldCreationOptions $options) : void

Generates world manifest files and any other things needed to initialize a new world on disk

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