PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
|
Public Member Functions | |
getDifficulty () | |
getGeneratorClass () | |
getGeneratorOptions () | |
getSeed () | |
getSpawnPosition () | |
setDifficulty (int $difficulty) | |
setGeneratorClass (string $generatorClass) | |
setGeneratorOptions (string $generatorOptions) | |
setSeed (int $seed) | |
setSpawnPosition (Vector3 $spawnPosition) | |
Static Public Member Functions | |
static | create () |
Represents user-customizable settings for world creation
Definition at line 36 of file WorldCreationOptions.php.
pocketmine\world\WorldCreationOptions::__construct | ( | ) |
Definition at line 45 of file WorldCreationOptions.php.
|
static |
Definition at line 50 of file WorldCreationOptions.php.
pocketmine\world\WorldCreationOptions::getDifficulty | ( | ) |
Definition at line 75 of file WorldCreationOptions.php.
pocketmine\world\WorldCreationOptions::getGeneratorClass | ( | ) |
@phpstan-return class-string<Generator>
Definition at line 55 of file WorldCreationOptions.php.
pocketmine\world\WorldCreationOptions::getGeneratorOptions | ( | ) |
Definition at line 83 of file WorldCreationOptions.php.
pocketmine\world\WorldCreationOptions::getSeed | ( | ) |
Definition at line 67 of file WorldCreationOptions.php.
pocketmine\world\WorldCreationOptions::getSpawnPosition | ( | ) |
Definition at line 91 of file WorldCreationOptions.php.
pocketmine\world\WorldCreationOptions::setDifficulty | ( | int | $difficulty | ) |
Definition at line 78 of file WorldCreationOptions.php.
pocketmine\world\WorldCreationOptions::setGeneratorClass | ( | string | $generatorClass | ) |
@phpstan-param class-string<Generator> $generatorClass
Definition at line 61 of file WorldCreationOptions.php.
pocketmine\world\WorldCreationOptions::setGeneratorOptions | ( | string | $generatorOptions | ) |
Definition at line 86 of file WorldCreationOptions.php.
pocketmine\world\WorldCreationOptions::setSeed | ( | int | $seed | ) |
Definition at line 70 of file WorldCreationOptions.php.
pocketmine\world\WorldCreationOptions::setSpawnPosition | ( | Vector3 | $spawnPosition | ) |
Definition at line 94 of file WorldCreationOptions.php.