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. 

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!

Follow us on Twitter and Facebook to get updates on your favorite games!

About the Author

Howdy Folks! My name is Andrew, and I have been playing games for decades and only just started writing about them. My personal favorites are ARPGs and C&C style RTS games. I also specialize in writing guides for a lot of popular RPGs. Follow me on my account on Twitter at @HighwaymanSlade to see retweets of my latest works and thoughts about games.
Find Andrewvaughan On: Twitter

Recently Updated Minecraft Posts

Leave a Comment

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.