Generator
Properties
$preset
php
public string $preset$random protected
php
protected \pocketmine\utils\Random $random$seed
php
public int $seedMethods
__construct()
php
public function __construct(int $seed, string $preset)convertSeed()
php
public static function convertSeed(string $seed) : ?intConverts a string world seed into an integer for use by the generator.
generateChunk()
php
abstract public function generateChunk(\pocketmine\world\ChunkManager $world, int $chunkX, int $chunkZ) : voidpopulateChunk()
php
abstract public function populateChunk(\pocketmine\world\ChunkManager $world, int $chunkX, int $chunkZ) : void