This addon will help you greatly in your world or your server, as it will preserve your resources when you die and they will not be randomly thrown away or burned in the lava.
Select version for changelog:
Changelog
No changes this is the first time j published this addon :)
Fix the download links
and when die in the nether, the grave is there but all the items are not in the grave, scattered outside as usual