Package org.bukkit.event.world
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
,StructureLocateEvent
,StructuresLocateEvent
,TimeSkipEvent
,WorldBorderEvent
,WorldGameRuleChangeEvent
,WorldInitEvent
,WorldLoadEvent
,WorldSaveEvent
,WorldUnloadEvent
Represents events within a world
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionWorldEvent
(@NotNull World world) WorldEvent
(@NotNull World world, boolean isAsync) -
Method Summary
Methods inherited from class org.bukkit.event.Event
asynchronous, callEvent, getEventName, getHandlers, isAsynchronous
-
Constructor Details
-
WorldEvent
-
WorldEvent
-
-
Method Details
-
getWorld
Gets the world primarily involved with this event- Returns:
- World which caused this event
-