Class PlayerPostRespawnEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
com.destroystokyo.paper.event.player.PlayerPostRespawnEvent

public class PlayerPostRespawnEvent extends PlayerEvent
Fired after a player has respawned
  • Constructor Details

  • Method Details

    • getRespawnedLocation

      @NotNull public Location getRespawnedLocation()
      Returns the location of the respawned player
      Returns:
      location of the respawned player
    • isBedSpawn

      public boolean isBedSpawn()
      Checks if the player respawned to their bed
      Returns:
      whether the player respawned to their bed
    • getHandlers

      @NotNull public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      @NotNull public static HandlerList getHandlerList()