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