Class WeatherChangeEvent

All Implemented Interfaces:
Cancellable

public class WeatherChangeEvent extends WeatherEvent implements Cancellable
Author:
funcraft (Nukkit Project)
  • Constructor Details

    • WeatherChangeEvent

      public WeatherChangeEvent(Level level, boolean to)
  • Method Details

    • getHandlers

      public static HandlerList getHandlers()
    • toWeatherState

      public boolean toWeatherState()
      Gets the state of weather that the world is being set to
      Returns:
      true if the weather is being set to raining, false otherwise