public class SpawnChangeEvent extends WorldEvent
Event.Result
Constructor and Description |
---|
SpawnChangeEvent(World world,
Location previousLocation) |
Modifier and Type | Method and Description |
---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
Location |
getPreviousLocation()
Gets the previous spawn location
|
getWorld
callEvent, getEventName, isAsynchronous
@NotNull public Location getPreviousLocation()
@NotNull public HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static HandlerList getHandlerList()
Copyright © 2022. All rights reserved.