Class WorldEvent

  extended by org.bukkit.event.Event
      extended by
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
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


public WorldEvent(World world)
Method Detail


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

World which caused this event

Copyright © 2014. All rights reserved.