Skip to content

WorldProviderManagerEntry ​

abstract class · pocketmine\world\format\io\WorldProviderManagerEntry · source

Properties ​

$isValid ​

php
public \Closure $isValid

Methods ​

__construct() protected ​

php
protected function __construct(\Closure $isValid)

fromPath() ​

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

isValid() ​

php
public function isValid(string $path) : bool

Tells if the path is a valid world. This must tell if the current format supports opening the files in the directory

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