Package org.bukkit.event.world
Class WorldEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.world.WorldEvent
- Direct Known Subclasses:
ChunkEvent
,LootGenerateEvent
,PortalCreateEvent
,RaidEvent
,SpawnChangeEvent
,StructureGrowEvent
,TimeSkipEvent
,WorldInitEvent
,WorldLoadEvent
,WorldSaveEvent
,WorldUnloadEvent
public abstract class WorldEvent extends Event
Represents events within a world
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description WorldEvent(World world)
-
Method Summary
-
Constructor Details
-
Method Details
-
getWorld
Gets the world primarily involved with this event- Returns:
- World which caused this event
-