This mod will spawn a chest at your death location and keep all your items in it until you get back to it. Even better, you can upgrade the chest to spawn next to your spawn point to avoid having to run back to the chest!

Minecraft Forums