The bug
When a respawn anchor is covered on all sides (including diagonals) either with solid blocks or air, it will count as being obstructed, even if there would be space above the anchor.
Linked issues
is duplicated by 2
relates to 3
Attachments
Comments 5
Apparently the issue was that there were no blocks around the block under the anchor. When I place the anchor directly on the ground, the issue doesn't persist. If I place a block on the ground, and the anchor on it, the issue persists.
Definitely related to MC-175166. It seems you can only spawn in those 8 blocks directly around it. If there's no ground, a block in them, or a block right above, it won't work. I'm going to add some pictures to better explain it.
If there are blocks placed all around the anchor, it's obstructed. This has to do with the fact that, according to MC-175166, you spawn right next to the anchor.