类 WeatherChangeEvent

所有已实现的接口:
Cancellable

public class WeatherChangeEvent extends WeatherEvent implements Cancellable
作者:
funcraft (Nukkit Project)
  • 构造器详细资料

    • WeatherChangeEvent

      public WeatherChangeEvent(Level level, boolean to)
  • 方法详细资料

    • getHandlers

      public static HandlerList getHandlers()
    • toWeatherState

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