This datapack depends on: DrakonCore
Player Revive is a mechanic that allows players to revive other dead players before they hit the Respawn button. When a player dies in the vicinity of another player, they leave a gravestone behind. Living players can stand over this gravestone to begin the revive process, which takes approximately 15 seconds. This can also be sped up with multiple players, but is cancelled if the players move too far away or the dead player presses Respawn too early. However, if the revive finishes the player will instantly be teleported back to their death location upon respawn with an effect similar to the Totem of Undying.
If a player dies and there are no living players within 50 blocks, they will not generate a grave. Graves disappear if there are no players nearby to revive them. This is not usable in singleplayer, however in multiplayer it can be extremely useful when far away from home and a useful way to avoid cutting your adventure short.