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: Unresolved
    • None
    • 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.

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

              Created:
              Updated:
              CHK: