Weather
A type of weather in Minecraft. Either “clear”, “rain”, or “thunder”.
gameplay._weather(CLEAR)
Snow does not appear in this list because it is actually considered “rain” in Minecraft.
Returns
- a number that is the id of this type of wather
Example
Bring on a thunderstorm with just a command.
player.onChat("storm", function {
gameplay.setWeather(Weather.Thunder)
});