WorldCreationOptions
Represents user-customizable settings for world creation
Methods
__construct()
php
public function __construct()create()
php
public static function create() : selfgetDifficulty()
php
public function getDifficulty() : intgetGeneratorClass()
php
public function getGeneratorClass() : stringgetGeneratorOptions()
php
public function getGeneratorOptions() : stringgetSeed()
php
public function getSeed() : intgetSpawnPosition()
php
public function getSpawnPosition() : \pocketmine\math\Vector3setDifficulty()
php
public function setDifficulty(int $difficulty) : selfsetGeneratorClass()
php
public function setGeneratorClass(string $generatorClass) : selfsetGeneratorOptions()
php
public function setGeneratorOptions(string $generatorOptions) : selfsetSeed()
php
public function setSeed(int $seed) : selfsetSpawnPosition()
php
public function setSpawnPosition(\pocketmine\math\Vector3 $spawnPosition) : self