org.bukkit.event.weather
Class WeatherEvent

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

public abstract class WeatherEvent
extends Event

Represents a Weather-related event


Nested Class Summary
 
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
 
Field Summary
protected  World world
           
 
Constructor Summary
WeatherEvent(World where)
           
 
Method Summary
 World getWorld()
          Returns the World where this event is occurring
 
Methods inherited from class org.bukkit.event.Event
getEventName, getHandlers, isAsynchronous
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

world

protected World world
Constructor Detail

WeatherEvent

public WeatherEvent(World where)
Method Detail

getWorld

public final World getWorld()
Returns the World where this event is occurring

Returns:
World this event is occurring in


Copyright © 2013. All Rights Reserved.