Fetch the current Bed/respawn anchor location of a player.

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None
    • CraftBukkit version git-Spigot-379750e-82542d0 (MC: 1.16.2) (Implementing API version 1.16.2-R0.1-SNAPSHOT)
    • Yes

      It's currently impossible to get the block responsible for a players current spawn anchoring, that if broken would break their spawn.

      This is useful when creating plugins that interact with the respawn system, such as EdGruberman's sleep, whose only remaining nms dependence is getting the actual bed anchor block.

      https://github.com/EdGruberman/Sleep/tree/master/src/edgruberman/bukkit/sleep/craftbukkit

      You can get the expected spawn location using the current API, which is not the current anchor, and workarounds by searching for the anchor can lead to issues when multiple beds/anchors are nearby.

            Assignee:
            Unassigned
            Reporter:
            RyanTheLeach
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: