Definition at line 39 of file FlatGeneratorOptions.php.
◆ __construct()
pocketmine\world\generator\FlatGeneratorOptions::__construct |
( |
private array | $structure, |
|
|
private int | $biomeId, |
|
|
private array | $extraOptions = [] ) |
- Parameters
-
int[] | $structure | |
mixed[] | $extraOptions | @phpstan-param array<int, int> $structure @phpstan-param array<string, array<string, string>|true> $extraOptions |
Definition at line 47 of file FlatGeneratorOptions.php.
◆ getBiomeId()
pocketmine\world\generator\FlatGeneratorOptions::getBiomeId |
( |
| ) |
|
◆ getExtraOptions()
pocketmine\world\generator\FlatGeneratorOptions::getExtraOptions |
( |
| ) |
|
◆ getStructure()
pocketmine\world\generator\FlatGeneratorOptions::getStructure |
( |
| ) |
|
◆ parseLayers()
static pocketmine\world\generator\FlatGeneratorOptions::parseLayers |
( |
string | $layers | ) |
|
|
static |
- Returns
- int[] @phpstan-return array<int, int>
- Exceptions
-
InvalidGeneratorOptionsException | |
Definition at line 73 of file FlatGeneratorOptions.php.
◆ parsePreset()
static pocketmine\world\generator\FlatGeneratorOptions::parsePreset |
( |
string | $presetString | ) |
|
|
static |
The documentation for this class was generated from the following file: