PocketMine-MP 5.39.4 git-a2b7d660558310260c376d1eeaff549367b9fc6e
Loading...
Searching...
No Matches
pocketmine\world\generator\GeneratorManagerEntry Class Reference
+ Collaboration diagram for pocketmine\world\generator\GeneratorManagerEntry:

Public Member Functions

 __construct (private string $generatorClass, private \Closure $presetValidator, private readonly bool $fast)
 
 getGeneratorClass ()
 
 isFast ()
 
 validateGeneratorOptions (string $generatorOptions)
 

Detailed Description

Definition at line 26 of file GeneratorManagerEntry.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\world\generator\GeneratorManagerEntry::__construct ( private string $generatorClass,
private \Closure $presetValidator,
private readonly bool $fast )

@phpstan-param class-string<Generator> $generatorClass @phpstan-param \Closure(string) : ?InvalidGeneratorOptionsException $presetValidator

Definition at line 32 of file GeneratorManagerEntry.php.

Member Function Documentation

◆ getGeneratorClass()

pocketmine\world\generator\GeneratorManagerEntry::getGeneratorClass ( )

@phpstan-return class-string<Generator>

Definition at line 39 of file GeneratorManagerEntry.php.

◆ isFast()

pocketmine\world\generator\GeneratorManagerEntry::isFast ( )

Definition at line 41 of file GeneratorManagerEntry.php.

◆ validateGeneratorOptions()

pocketmine\world\generator\GeneratorManagerEntry::validateGeneratorOptions ( string $generatorOptions)
Exceptions
InvalidGeneratorOptionsException

Definition at line 46 of file GeneratorManagerEntry.php.


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