Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-234511

After dying, items inside of a temporary GUI slot will be dropped even with the keepInventory gamerule enabled

XMLWordPrintable

    • Icon: Bug 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
    • Community Consensus
    • Inventory

      The Bug:

      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:

      Note: enable keepInventory gamerule

      On LAN:

      1. Player 1 open a container
      2. Player 1 should set an item into a "temporary" holding slot
      3. Player 2 must kill Player 1

      Single Player

      1. Set up an 8 block long water stream leading into a pressure plate
      2. Place a command block next to the pressure plate (must be activated upon stepping on pressure plate) and use the following command:
         /kill @s 
      3. Place one of the listed blocks above in the image near the end of the water stream
      4. Walk into water stream with an item in your inventory
      5. When possible, open the respective block's GUI and insert an item into one of the applicable slots (do not close the GUI)
      6. 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.

            Unassigned Unassigned
            Jingy Jiingy
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: