This mod rewrites logic behind vanilla respawning system, so players would not spawn on top of buildings.
backport for 1.19.x
JustS-js
Member