-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 16w07a, Minecraft 16w07b, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 16w32a, Minecraft 16w35a, Minecraft 16w36a, Minecraft 1.11.2, Minecraft 1.12.1, Minecraft 1.13.1, 1.14.4, 19w41a, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 20w48a, 21w03a, 21w05b, 21w06a, 21w07a, 1.17, 1.19.4, 1.20.4, 24w04a, 1.20.5, 1.21
-
Confirmed
-
Survival
-
Items
When a player dies while holding any item(s) in their mouse cursor (in an inventory, or GUI for example) the stack will be removed from that player's inventory and drop as an item entity, even if the keepInventory gamerule is enabled.
Steps to Reproduce:
(Must be in survival mode, with cheats enabled)
- Enable 'keepInventory':
/gamerule keepInventory true
- Take continuous damage (ie; stand near a cactus, in fire, falling. etc)
- Before dying, open your inventory and hold an item in your cursor
Expected & Observed Behavior:
- What ever you're holding will drop on the ground as an entity where you died.
- The items would be returned to the player inventory.
- is duplicated by
-
MC-198383 holding Item doesn't save with keepInventory
- Resolved
-
MC-262963 With the Hold Inventory turned on, when dying (e.g. falling into the void), open the inventory and select an item that will be thrown out when dying.
- Resolved
-
MC-273891 Cursor item drops on death while keep inventory is enabled.
- Resolved