Class WeatherEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.weather.WeatherEvent
Direct Known Subclasses:
LightningStrikeEvent, ThunderChangeEvent, WeatherChangeEvent

public abstract class WeatherEvent extends Event
Represents a Weather-related event
  • Field Details

    • world

      protected World world
  • Constructor Details

  • Method Details

    • getWorld

      @NotNull public final World getWorld()
      Returns the World where this event is occurring
      Returns:
      World this event is occurring in