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