public class PlayerPostRespawnEvent extends PlayerEvent
Event.Resultplayer| 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
|
getPlayercallEvent, 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 © 2022. All rights reserved.