Class PlayerPostRespawnEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
com.destroystokyo.paper.event.player.PlayerPostRespawnEvent
Fired after a player has respawned
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Field SummaryFields inherited from class org.bukkit.event.player.PlayerEventplayer
- 
Constructor SummaryConstructorsConstructorDescriptionPlayerPostRespawnEvent(@NotNull Player respawnPlayer, @NotNull Location respawnedLocation, boolean isBedSpawn) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic @NotNull HandlerListReturns the location of the respawned playerbooleanChecks if the player respawned to their bedMethods inherited from class org.bukkit.event.player.PlayerEventgetPlayerMethods inherited from class org.bukkit.event.EventcallEvent, getEventName, isAsynchronous
- 
Constructor Details- 
PlayerPostRespawnEvent
 
- 
- 
Method Details- 
getRespawnedLocationReturns the location of the respawned player- Returns:
- location of the respawned player
 
- 
isBedSpawnpublic boolean isBedSpawn()Checks if the player respawned to their bed- Returns:
- whether the player respawned to their bed
 
- 
getHandlers- Specified by:
- getHandlersin class- Event
 
- 
getHandlerList
 
-