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

Pick-block creates ghost items in Creative when hotbar is full

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w44a
    • Minecraft 15w33c, Minecraft 15w35b, Minecraft 15w40b, Minecraft 15w45a, Minecraft 16w35a, Minecraft 16w42a, Minecraft 17w06a, Minecraft 1.12.2, Minecraft 18w03b, Minecraft 1.13-pre9, 1.15.2, 20w08a, 1.16 Pre-release 3, 1.16.1, 20w29a, 21w16a, 1.17 Release Candidate 1, 1.17.1, 21w39a, 21w40a, 21w41a, 1.18 Pre-release 1, 1.18, 1.18.1 Pre-release 1, 1.18.1, 1.19.3, 1.20, 1.20.2, 23w43a, 1.20.5, 1.20.6 Release Candidate 1
    • None
    • Confirmed
    • Creative
    • UI
    • Low
    • Platform

      To reproduce:

      1. /clear or shift-click Destroy Item slot
      2. Put an item in each of the 9 hotbar slots
      3. Pick-block on a block that you don't have in your hotbar

      You will have created a ghost item, namely the item that was pushed away from the hotbar to make space for the block. To verify this, /clear and open your survival inventory: The item will still be there.
      Also you can't find this item with

      /execute if data entity @p Inventory[{id:"minecraft:item_id"}]

      until you open the inventory.

        1. MC-86455 1.21.2.mp4
          835 kB
        2. MC-86455 24w44a.mp4
          892 kB
        3. MC-86455 ghost item.mp4
          1.59 MB

            Unassigned Unassigned
            redstonehelper [Mod] redstonehelper
            Votes:
            18 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: