[SPIGOT-5930] Add PlayerRespawnEvent#isRespawnAnchorSpawn Created: 02/Jul/20  Updated: 02/Jul/20  Resolved: 02/Jul/20

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Suneet Tipirneni Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: 1.16.1

Version: git-Spigot-4d9262c-dc7c3c6
Guidelines Read: Yes

 Description   

Currently, there is no way in the API to check if a player has respawned via a respawn anchor. This would be useful for plugins that use the respawning event to decide what to block or allow the respawn to the respawn anchor. Thus there should be a method to the existing player respawn event to check whether the respawn is going to a respawn anchor or not. Similar to checking if a player is respawning to a bed or not.


Generated at Tue Apr 08 02:45:41 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.