your current location:首页 > news>Minecraft command does not drop items after death

Minecraft command does not drop items after death

2024-11-29 23:58:48|Myriagame |source:minecraft skins

In Minecraft, all items will be dropped after the player dies. If you fall into the lava while mining, all items on your body will be burned, resulting in failure. So is there any way to prevent equipment from dropping? Here is a code: [/gamerule keepInventory true]. After entering the code in brackets in the chat box, all items and equipment on your body will not be dropped after death, so players can adventure recklessly.

Minecraft command does not drop after death

Minecraft command does not drop after death
If the survival mode is created at the beginning, the code cannot be used directly. We must first follow the steps below to enable the cheat code function.
Minecraft command does not drop items after death
The specific steps are as follows:

1. Press the ESC key to pop up the menu interface, and then click "Open to LAN"

2. Enter a "LAN world" interface, and then adjust the "Allow cheating" option to on.

3. Then click to create a LAN world. Your cheat code function can be officially enabled.

4. How to use the code; Next, we can try the code that does not drop when dying: /gamerule keepInventory true

How to use: Press the T key in the game. An input box will appear, then copy this code into it and press Enter.