Back Command  -  for Minecraft 26.1, 26.2 and 26.3

HOW IT WORKS
  Die, respawn, type      /trigger back
  and you are teleported to the spot where you died - also into the Nether
  or the End. No operator rights needed, every player can use it.

  One return per death. Dying again frees it again.
  Deaths in the void are refused, because going back would kill you again.

  Minecraft itself remembers where each player last died, so this also works
  for deaths that happened before the datapack was installed.

SETTINGS (operators)
  /scoreboard players set #once back_cfg 1    one return per death (default)
  /scoreboard players set #once back_cfg 0    unlimited returns to the last death point

INSTALLATION (server)
  Put the ZIP into <level-name>/datapacks/ and restart, or run /reload.
  Works on a world you already play. Players install nothing.
