
Hardcore worlds can be restored by modifying the level.dat in the world directory but the problem is that players are usually lazy to do that or just don't know how to do that. That's what the mod solve=). There are also a few customizations
Disclaimer: The mod modifies the level.dat of the world you restore (a backup is done though)

When you die in a singleplayer hardcore world, a new button will be there: "Restore World". Depending on the settings (explained below), you'll be able to recover the world still as hardcore or as a survival


*Just in case, the mod create a backup of the world's data, named under "level.dat_backup_restorehardcoreworld"

It has no GUI on FORGE yet to configure that ingame, but you can go to config/restorehardcoreworld-client.toml and you will be able to configure that:


Coming soon!
Feel free to add this in any modpack published on curseforge! This is highly appreciated.
The code is open source : https://github.com/AwesomeHippo/RestoreHardcoreWorld under MIT license