public class PlayerPostRespawnEvent extends PlayerEvent
Event.Result
player
Constructor and Description |
---|
PlayerPostRespawnEvent(@NotNull Player respawnPlayer,
@NotNull Location respawnedLocation,
boolean isBedSpawn) |
Modifier and Type | Method and Description |
---|---|
static @NotNull HandlerList |
getHandlerList() |
@NotNull HandlerList |
getHandlers() |
@NotNull Location |
getRespawnedLocation()
Returns the location of the respawned player
|
boolean |
isBedSpawn()
Checks if the player respawned to their bed
|
getPlayer
callEvent, getEventName, isAsynchronous
@NotNull public @NotNull Location getRespawnedLocation()
public boolean isBedSpawn()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2021. All rights reserved.