|
|
| __construct (Level $level, $duration=1200) |
| |
|
| canCalculate () |
| |
|
| setCanCalculate (bool $canCalc) |
| |
|
| calcWeather ($currentTick) |
| |
|
| setWeather (int $wea, int $duration=12000) |
| |
|
| getRandomWeatherData () |
| |
|
| setRandomWeatherData (array $randomWeatherData) |
| |
|
| getWeather () |
| |
| | isSunny () |
| |
| | isRainy () |
| |
| | isRainyThunder () |
| |
| | isThunder () |
| |
|
| getStrength () |
| |
|
| sendWeather (Player $p) |
| |
|
| sendWeatherToAll () |
| |
|
|
static | getWeatherFromString ($weather) |
| |
|
|
const | CLEAR = 0 |
| |
|
const | SUNNY = 0 |
| |
|
const | RAIN = 1 |
| |
|
const | RAINY = 1 |
| |
|
const | RAINY_THUNDER = 2 |
| |
|
const | THUNDER = 3 |
| |
The documentation for this class was generated from the following file:
- src/pocketmine/level/weather/Weather.php