|
PocketMine-MP 5.44.4 git-bc94a0da0c87abe7eb99d229a9ec672b3c405d11
|
Collaboration diagram for pocketmine\world\generator\GeneratorManagerEntry:Public Member Functions | |
| __construct (private string $generatorClass, private \Closure $presetValidator, private readonly bool $fast, private ?\Closure $spawnPositionProvider=null) | |
| getGeneratorClass () | |
| getSpawnPosition (int $seed) | |
| isFast () | |
| validateGeneratorOptions (string $generatorOptions) | |
Definition at line 28 of file GeneratorManagerEntry.php.
| pocketmine\world\generator\GeneratorManagerEntry::__construct | ( | private string | $generatorClass, |
| private \Closure | $presetValidator, | ||
| private readonly bool | $fast, | ||
| private ?\Closure | $spawnPositionProvider = null ) |
@phpstan-param class-string<Generator> $generatorClass @phpstan-param \Closure(string) : ?InvalidGeneratorOptionsException $presetValidator @phpstan-param (\Closure(int) : ?Vector3)|null $spawnPositionProvider
Definition at line 35 of file GeneratorManagerEntry.php.
| pocketmine\world\generator\GeneratorManagerEntry::getGeneratorClass | ( | ) |
@phpstan-return class-string<Generator>
Definition at line 43 of file GeneratorManagerEntry.php.
| pocketmine\world\generator\GeneratorManagerEntry::getSpawnPosition | ( | int | $seed | ) |
Definition at line 56 of file GeneratorManagerEntry.php.
| pocketmine\world\generator\GeneratorManagerEntry::isFast | ( | ) |
Definition at line 45 of file GeneratorManagerEntry.php.
| pocketmine\world\generator\GeneratorManagerEntry::validateGeneratorOptions | ( | string | $generatorOptions | ) |
| InvalidGeneratorOptionsException |
Definition at line 50 of file GeneratorManagerEntry.php.