public class PlayerPostRespawnEvent extends PlayerEvent
Event.Result
player
Constructor | Description |
---|---|
PlayerPostRespawnEvent(@NotNull Player respawnPlayer,
@NotNull Location respawnedLocation,
boolean isBedSpawn) |
Modifier and Type | Method | 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
|
callEvent, getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPlayer
@NotNull public @NotNull Location getRespawnedLocation()
public boolean isBedSpawn()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2020. All rights reserved.