Skip to content

GeneratorManagerEntry ​

final class · pocketmine\world\generator\GeneratorManagerEntry · source

Methods ​

__construct() ​

php
public function __construct(string $generatorClass, \Closure $presetValidator, bool $fast, ?\pocketmine\world\dimension\Dimension $dimension = null)

getDimension() 5.46.0 ​

php
public function getDimension() : ?\pocketmine\world\dimension\Dimension

Dimension of the worlds this generator makes, or null for ordinary Overworld terrain. Used as the dimension of a world when its configuration doesn't set one.

getGeneratorClass() ​

php
public function getGeneratorClass() : string

isFast() ​

php
public function isFast() : bool

validateGeneratorOptions() ​

php
public function validateGeneratorOptions(string $generatorOptions) : void

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