Package org.bukkit.event.world
Class SpawnChangeEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.world.WorldEvent
org.bukkit.event.world.SpawnChangeEvent
An event that is called when a world's spawn changes. The world's previous
spawn location is included.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bukkit.event.world.WorldEvent
getWorld
Methods inherited from class org.bukkit.event.Event
asynchronous, callEvent, getEventName, isAsynchronous
-
Constructor Details
-
SpawnChangeEvent
-
-
Method Details
-
getPreviousLocation
Gets the previous spawn location- Returns:
- Location that used to be spawn
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-