If you have important items in your inventory and don’t want to risk losing them, you can enter a cheat to keep your inventory. Upon death, the “Keep Inventory” command can prevent huge losses in Minecraft.
How to keep your inventory when you die in Minecraft!! NO MODS!
Command in Minecraft Pocket Edition (PE)
In Minecraft Pocket Edition (PE), the syntax to keep your inventory after dying and respawning using the /gamerule command is:
Example in Java Edition (PC/Mac)
To keep inventory after dying in Minecraft Java Edition (PC/Mac):
To lose inventory after dying:
How to Keep Your Inventory When You Die in Minecraft on Windows, Mac, and Chromebook
If you no longer want to lose your items after death, the first thing you should do is create a Minecraft world that supports cheats. It’s a straightforward process that enables you to put all your cheats to good use:
Now, you can start using cheats:
FAQ
Where is the keep inventory setting in Minecraft?
How do you turn on keep inventory in Minecraft server?
How do I permanently keep inventory in Minecraft?
- Open the chat window in your game.
- Type “/gamerule keepInventory true” in the chatbox.
- Press “Enter.”
- After you die, you’ll still have all your tools.
- Click on “Respawn” to restart the game.