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

Item pickup animation plays in hotbar when 1-9 hotkeying out of limited slots fails/has no apparent effect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 15w44b, Minecraft 1.9, Minecraft 16w43a, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w17b, Minecraft 17w18a, Minecraft 17w18b, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, 19w35a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      I'm not even going to attempt putting this into words, so here's exact steps to reproduce:

      1. /gamemode survival
      2. /clear
      3. /replaceitem entity @p slot.armor.head minecraft:pumpkin
      4. /replaceitem entity @p slot.hotbar.0 minecraft:pumpkin 32
      5. Open your inventory, move your mouse over the pumpkin in the helmet slot
      6. Hit 1 on your keyboard and observe the item pickup animation playing on the stack of 32 pumpkins in your hotbar (the hotbar that's always rendered, not the one in the inventory GUI)

      The hotkey action doesn't actually fail - it does exactly what it's supposed to do: Switch the item stacks in the two slots. However, stack size limitation for the helmet slot dictates that only one item may move there, so only one of the 32 pumpkins is moved there, resulting in 31 pumpkins. Then the single pumpkin that was originally in the head slot is moved into the inventory: a slot for it is looked for because the slot we are hotkeying in is still occupied with 31 pumpkins - the game finds the slot with 31 pumpkins in it and puts the pumpkin there, resulting in an "increased" stack size of 32. Increased stack size triggers item pickup animation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                redstonehelper [Mod] redstonehelper
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: