Pick-block creates ghost items in Creative when hotbar is full
To reproduce:
- /clear or shift-click Destroy Item slot
- Put 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.
2015-08-16, 03:33 PM
2024-12-12, 11:17 PM
2024-12-12, 11:17 PM
18
4
Minecraft 15w33c - 1.20.6 Release Candidate 1
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