Image via Mojang AB

How do you keep items after you die in Minecraft?

Here's how you can keep your items when you die in Minecraft.

To keep all of your items when you die is easy in Minecraft, as all you will need to do is use a simple gamerule command. 

Recommended Videos

But before you can use commands in Minecraft such as gamerules, you will need to enable cheats via the option to do so in the main menu or when you go to create a brand new Minecraft world.

Once cheats and commands are enabled, all you need to do to disable fire damage is type or copy and paste the simple game rule /gamerule keepInventory true and hit enter.

Related: How to remove Fire Damage in Minecraft?

Doing so will then allow you to keep everything in your inventory when you die, thus avoiding losing any items to annoying deaths such as falling in lava.

If you want to use this command for a server, just locate your server console and type or copy and paste the same command in and hit enter. The command will then have the same effect, just like with client-side games.

But if you ever want to revert the changes made to your inventory, all you need to do is use the same command but with a slight change. Instead of true at the end of the command, change it to false. So type /gamerule keepInventory false and then hit enter.

Check out some of our other awesome Minecraft guides!


Pro Game Guides is supported by our audience. When you purchase through links on our site, we may earn a small affiliate commission. Learn more
related content
Read Article Best servants in V Rising, Ranked
V Rising characters taking a break in the game
Read Article How to get Tempering Recipes in Diablo 4 Season 4
Tempering Recipes List in Diablo 4
Read Article Sol’s RNG Era 8 update release date and leaks
Sol's RNG logo and an aura in the frame
Read Article Slouse’s MM2 Value List – Roblox
The shop section in Slouse MM2
Read Article Elemental Powers Tycoon Tier List – All Powers, Ranked
The main menu UI in Elemental Powers Tycoon
Related Content
Read Article Best servants in V Rising, Ranked
V Rising characters taking a break in the game
Read Article How to get Tempering Recipes in Diablo 4 Season 4
Tempering Recipes List in Diablo 4
Read Article Sol’s RNG Era 8 update release date and leaks
Sol's RNG logo and an aura in the frame
Read Article Slouse’s MM2 Value List – Roblox
The shop section in Slouse MM2
Read Article Elemental Powers Tycoon Tier List – All Powers, Ranked
The main menu UI in Elemental Powers Tycoon
Author
Andrew Vaughan
Andrew Vaughan is a Contributing Writer at Pro Game Guides that has written guides on popular RPGs and FPS survival titles for several years. Andrew Vaughan specializes in survival and roleplaying games and has been a lifelong gamer.

Write A Comment

How do you keep items after you die in Minecraft?

Comments are on moderation and will be approved in a timely manner. Please read the following rules before commenting:

  • All comments must be on topic and add something of substance to the post
  • No swearing or inappropriate words
  • No asking or begging for anything free
  • Do not attempt to start a poll in the comments
  • Comments in all CAPS will be removed
  • We reserve the right to remove a comment for any reason
  • Do not impersonate a staff member or influencer

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.