To reproduce:
/clear
or shift-click Destroy Item slotPut an item in each of the 9 hotbar slots
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.
Related issues
is duplicated by
relates to
Attachments
Comments


In 1.16.1 and 20w29a

Can confirm in 1.17.1. Video attached.

Can confirm in 21w39a.

Can confirm in 21w40a.

Can confirm in 21w41a.

Can confirm in 1.18 Pre-release 1.

Can confirm in 1.18 and 1.18.1 Pre-release 1.

Can confirm in 1.18.1.

Can confirm in 1.19.3.

Fixed in 24w44a.
1.21.2 (previous version) | 24w44a (fixed version) |
[media] | [media] |