How to keep your inventory in minecraft pe
Emily Cortez
Published Mar 25, 2026

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: /gamerule keepinventory true
There are other answers below:
Minecraft PE – How To Keep Your Inventory When You Die!Intro Song: Aero Chord – SurfaceOutro Song: AK9, Ben Morris & Venuto – Shine ft. Yogi
How to keep your inventory when you die in Minecraft!! NO MODS! If playback doesn’t begin shortly, try restarting your device. Videos you watch may be added to the TV’s watch history and influence …
What I suggest you do is make a chest containing your items, and place it in such a way you will have no problem finding it back, then kill your player Share Improve this answer
Just open the game, go to the path Play> Create new> Create a new world. Select the Game tab and turn ON the option Activate the tricks first and then the option Keep an inventory. Then pressing on the Continue and Create buttons. Suppose you have a …
That’s unfortunate (and if you die in a lava pit you’ll never get that loot back). Let’s fix that now by editing the “keepInventory.”. Pull up the chat window in your game and enter the following command (remembering that it is case sensitive). /gamerule keepInventory true.
Once the chats are on, here’s what you should do: Press on the D-Pad (right) on your controller. Type “/gamerule keepInventory true.”. Press “Enter” to …
If you are using Xbox or Nintendo Minecraft, then press the correct stud on the D-pad. After opening the chatbox, enter this command: /gamerule keep inventory true. After that, press enter or any other button meant to confirm your actions. Now you can go ahead and test if the process was successful.
In order to Keep Inventory alive When You Die In Minecraft, the keep inventory command for all the Minecraft edition will be the same as below: /gamerule keepinventory true But if you want to lose your inventory after dying, use the below command:
Example in Pocket Edition (PE) To remove all items from your inventory in Minecraft PE: /clear. To clear DigMinecraft’s inventory: /clear DigMinecraft. To clear iron trapdoors from all players’ inventory: /clear @a iron_trapdoor. To clear 4 iron trapdoors from all players’ inventory: /clear @a iron_trapdoor 0 4
Related Questions
How to keep inventory true in Minecraft?
If you are using Xbox or Nintendo Minecraft, then press the correct stud on the D-pad. After opening the chatbox, enter this command: /gamerule keep inventory true After that, press enter or any other button meant to confirm your actions. Now you can go ahead and test if the process was successful.
How do you clear inventory in Minecraft PE?
Clear Command in Minecraft Pocket Edition (PE) In Minecraft Pocket Edition, the syntax to clear items from a player’s inventory is: /clear [player] [itemName] [data] [maxCount] Definitions. player is optional. It is the name of the player (or a target selector) whose inventory you wish to clear.
How do I set the game to keep the inventory?
Type the Command. In this example, we will set the gamerule to keep inventory after dying with the following command: /gamerule keepInventory true. Type the command in the chat window. As you are typing, you will see the command appear in the lower left corner of the game window. Press the Enter key to run the command.
How do you reset your inventory in Minecraft?
Open Game Menu in Minecraft. Tap on “Open to LAN.” Go to “Allow Cheats” and toggle the button to “ON.” Tap on “Start LAN World.” Type “/gamerule keepInventory true.” Type “Enter.” Now, the new game rule is active, and you can respawn your game.