PocketMine-MP 5.43.2 git-a137a986d01d9af23452b2e741699a770c7ae112
Loading...
Searching...
No Matches
pocketmine\world\generator\VoidGenerator Class Reference
+ Inheritance diagram for pocketmine\world\generator\VoidGenerator:
+ Collaboration diagram for pocketmine\world\generator\VoidGenerator:

Public Member Functions

 __construct (int $seed, 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 VoidGenerator.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 35 of file VoidGenerator.php.

Member Function Documentation

◆ convertSeed()

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

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

Definition at line 39 of file Generator.php.

◆ generateChunk()

pocketmine\world\generator\VoidGenerator::generateChunk ( ChunkManager $world,
int $chunkX,
int $chunkZ )

Reimplemented from pocketmine\world\generator\Generator.

Definition at line 39 of file VoidGenerator.php.

◆ populateChunk()

pocketmine\world\generator\VoidGenerator::populateChunk ( ChunkManager $world,
int $chunkX,
int $chunkZ )

Reimplemented from pocketmine\world\generator\Generator.

Definition at line 63 of file VoidGenerator.php.

Member Data Documentation

◆ $random

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

Definition at line 51 of file Generator.php.


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