-
Bug
-
Resolution: Unresolved
-
None
-
1.17.1, 1.19.4 Pre-release 3, 1.20.1, 23w31a, 1.20.2 Pre-release 2, 1.20.2, 23w41a, 23w43a, 23w46a, 1.20.3 Pre-Release 4, 1.20.4, 23w51b, 24w07a, 1.20.5
-
Community Consensus
-
Inventory
When the player dies, they will drop items that were put inside of a 'temporary' GUI slot (not a chest, furnace, brewing stand, etc) despite the fact that they are still within the player's inventory at the time, and not permenantly stored inside of a container.
This issue applies for the following block GUI's:
Steps to Reproduce:
Enable keepInventory gamerule before either test
On LAN:
- Player 1 open a container
- Player 1 should set an item into a "temporary" holding slot
- Player 2 must kill Player 1
Singleplayer
- Set up an 8 block long water stream leading into a pressure plate
- Place a command block next to the pressure plate (must be activated upon stepping on pressure plate) and use the following command:
/kill @s
- Place one of the listed blocks above in the image near the end of the water stream
- Walk into water stream with an item in your inventory
- When possible, open the respective block's GUI and insert an item into one of the applicable slots (do not close the GUI)
- Observe behavior
Set-up should look something like this:
Observed Results:
The player will drop the items that were inserted into the block.
Expected Results:
The items would not drop from the players inventory, and would instead be returned if enough space is available.
- relates to
-
MC-133218 Usable items continue to be used on the death screen after dying when the "keepInventory" gamerule is set to "true"
- Open
-
MC-148765 Thrown Loyalty trident still drops with keepInventory on
- Open
-
MC-258154 Items held in the offhand don't disappear when dying while any interface is open except the inventory
- Open
-
MC-97163 Items held with the cursor will drop upon death with the keepInventory gamerule enabled
- Open