org.bukkit.event.world
Class WorldEvent

java.lang.Object
  extended by org.bukkit.event.Event
      extended by org.bukkit.event.world.WorldEvent
Direct Known Subclasses:
ChunkEvent, PortalCreateEvent, SpawnChangeEvent, StructureGrowEvent, WorldInitEvent, WorldLoadEvent, WorldSaveEvent, WorldUnloadEvent

public abstract class WorldEvent
extends Event

Represents events within a world


Nested Class Summary
 
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
 
Constructor Summary
WorldEvent(World world)
           
 
Method Summary
 World getWorld()
          Gets the world primarily involved with this event
 
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
 

Constructor Detail

WorldEvent

public WorldEvent(World world)
Method Detail

getWorld

public World getWorld()
Gets the world primarily involved with this event

Returns:
World which caused this event


Copyright © 2013. All Rights Reserved.