public class SpawnChangeEvent extends WorldEvent
Event.Result
Constructor | Description |
---|---|
SpawnChangeEvent(World world,
Location previousLocation) |
Modifier and Type | Method | Description |
---|---|---|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
|
Location |
getPreviousLocation() |
Gets the previous spawn location
|
getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getWorld
@NotNull public Location getPreviousLocation()
@NotNull public HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static HandlerList getHandlerList()
Copyright © 2019. All rights reserved.