|
PocketMine-MP 5.39.4 git-a2b7d660558310260c376d1eeaff549367b9fc6e
|
Inheritance diagram for pocketmine\world\format\io\WorldData:
Collaboration diagram for pocketmine\world\format\io\WorldData:Public Member Functions | |
| getDifficulty () | |
| getGenerator () | |
| getGeneratorOptions () | |
| getLightningLevel () | |
| getLightningTime () | |
| getName () | |
| getRainLevel () | |
| getRainTime () | |
| getSeed () | |
| getSpawn () | |
| getTime () | |
| save () | |
| setDifficulty (int $difficulty) | |
| setLightningLevel (float $level) | |
| setLightningTime (int $ticks) | |
| setName (string $value) | |
| setRainLevel (float $level) | |
| setRainTime (int $ticks) | |
| setSpawn (Vector3 $pos) | |
| setTime (int $value) | |
Definition at line 28 of file WorldData.php.
| pocketmine\world\format\io\WorldData::getDifficulty | ( | ) |
Returns the world difficulty. This will be one of the World constants.
Implemented in pocketmine\world\format\io\data\BedrockWorldData, and pocketmine\world\format\io\data\JavaWorldData.
| pocketmine\world\format\io\WorldData::getGenerator | ( | ) |
Returns the generator name
Implemented in pocketmine\world\format\io\data\BaseNbtWorldData.
| pocketmine\world\format\io\WorldData::getLightningLevel | ( | ) |
Implemented in pocketmine\world\format\io\data\BedrockWorldData, and pocketmine\world\format\io\data\JavaWorldData.
| pocketmine\world\format\io\WorldData::getLightningTime | ( | ) |
Returns the time in ticks to the next lightning level change.
Implemented in pocketmine\world\format\io\data\BedrockWorldData, and pocketmine\world\format\io\data\JavaWorldData.
| pocketmine\world\format\io\WorldData::getRainLevel | ( | ) |
Implemented in pocketmine\world\format\io\data\BedrockWorldData, and pocketmine\world\format\io\data\JavaWorldData.
| pocketmine\world\format\io\WorldData::getRainTime | ( | ) |
Returns the time in ticks to the next rain level change.
Implemented in pocketmine\world\format\io\data\BedrockWorldData, and pocketmine\world\format\io\data\JavaWorldData.
| pocketmine\world\format\io\WorldData::save | ( | ) |
Saves information about the world state, such as weather, time, etc.
Implemented in pocketmine\world\format\io\data\BedrockWorldData, and pocketmine\world\format\io\data\JavaWorldData.
| pocketmine\world\format\io\WorldData::setDifficulty | ( | int | $difficulty | ) |
Sets the world difficulty.
Implemented in pocketmine\world\format\io\data\BedrockWorldData, and pocketmine\world\format\io\data\JavaWorldData.
| pocketmine\world\format\io\WorldData::setLightningLevel | ( | float | $level | ) |
| float | $level | 0.0 - 1.0 |
Implemented in pocketmine\world\format\io\data\BedrockWorldData, and pocketmine\world\format\io\data\JavaWorldData.
| pocketmine\world\format\io\WorldData::setLightningTime | ( | int | $ticks | ) |
Sets the time in ticks to the next lightning level change.
Implemented in pocketmine\world\format\io\data\BedrockWorldData, and pocketmine\world\format\io\data\JavaWorldData.
| pocketmine\world\format\io\WorldData::setRainLevel | ( | float | $level | ) |
| float | $level | 0.0 - 1.0 |
Implemented in pocketmine\world\format\io\data\BedrockWorldData, and pocketmine\world\format\io\data\JavaWorldData.
| pocketmine\world\format\io\WorldData::setRainTime | ( | int | $ticks | ) |
Sets the time in ticks to the next rain level change.
Implemented in pocketmine\world\format\io\data\BedrockWorldData, and pocketmine\world\format\io\data\JavaWorldData.