Class ThunderChangeEvent

All Implemented Interfaces:
Cancellable

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

    • ThunderChangeEvent

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

    • getHandlers

      public static HandlerList getHandlers()
    • toThunderState

      public boolean toThunderState()
      Gets the state of thunder that the world is being set to
      Returns:
      true if the thunder is being set to start, false otherwise