org.bukkit.event.world
Class WorldEvent
java.lang.Object
org.bukkit.event.Event
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
Method Summary |
World |
getWorld()
Gets the world primarily involved with this event |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorldEvent
public WorldEvent(World world)
getWorld
public World getWorld()
- Gets the world primarily involved with this event
- Returns:
- World which caused this event
Copyright © 2013. All Rights Reserved.