Class WorldEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.world.WorldEvent
- Direct Known Subclasses:
AsyncStructureGenerateEvent, AsyncStructureSpawnEvent, ChunkEvent, GenericGameEvent, LootGenerateEvent, PortalCreateEvent, RaidEvent, SpawnChangeEvent, StructureGrowEvent, TimeSkipEvent, WorldInitEvent, WorldLoadEvent, WorldSaveEvent, WorldUnloadEvent
Represents events within a world
-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Event
getEventName, getHandlers, isAsynchronous
-
Constructor Details
-
WorldEvent
-
WorldEvent
-
-
Method Details
-
getWorld
Gets the world primarily involved with this event- Returns:
- World which caused this event
-