PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
Loading...
Searching...
No Matches
pocketmine\world\generator\Generator Class Reference
+ Inheritance diagram for pocketmine\world\generator\Generator:
+ Collaboration diagram for pocketmine\world\generator\Generator:

Public Member Functions

 __construct (protected int $seed, protected string $preset)
 
 generateChunk (ChunkManager $world, int $chunkX, int $chunkZ)
 
 populateChunk (ChunkManager $world, int $chunkX, int $chunkZ)
 

Static Public Member Functions

static convertSeed (string $seed)
 

Protected Attributes

Random $random
 

Detailed Description

Definition at line 34 of file Generator.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\world\generator\Generator::__construct ( protected int $seed,
protected string $preset )

Definition at line 53 of file Generator.php.

Member Function Documentation

◆ convertSeed()

static pocketmine\world\generator\Generator::convertSeed ( string $seed)
static

Converts a string world seed into an integer for use by the generator.

Definition at line 39 of file Generator.php.

Member Data Documentation

◆ $random

Random pocketmine\world\generator\Generator::$random
protected

Definition at line 51 of file Generator.php.


The documentation for this class was generated from the following file: