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