public interface ChangeWorldWeatherEvent extends TargetWorldEvent, Cancellable
WeatherUniverse's Weather changes.| Modifier and Type | Method and Description | 
|---|---|
| int | getDuration()Sets the duration of the  Weather(in ticks). | 
| Weather | getInitialWeather()Gets the  Weatherthat was happening before this event. | 
| int | getOriginalDuration()Gets the original duration of  getWeather()that would run after event. | 
| Weather | getOriginalWeather()Gets the original  Weatherthat the event is creating. | 
| Weather | getWeather()Gets the  Weatherthat this event is creating. | 
| void | setDuration(int duration)Sets the duration of the  Weather(in ticks). | 
| void | setWeather(Weather weather)Sets what the new  Weathershould be with a random duration. | 
getTargetWorldgetCause, getContext, getSourceisCancelled, setCancelledWeather getOriginalWeather()
Weather that the event is creating.Weather getInitialWeather()
Weather that was happening before this event.Weather getWeather()
Weather that this event is creating.void setWeather(Weather weather)
Weather should be with a random duration.weather - The new Weatherint getOriginalDuration()
getWeather() that would run after event.int getDuration()
Weather (in ticks).void setDuration(int duration)
Weather (in ticks).duration - The duration of the weather (in ticks)