The bug
When your inventory is full but your offhand slot is empty you can't pick up items.
Linked issues
is duplicated by 3
relates to 1
Attachments
Comments 24
I think this should be made more specific; it happens when you have no empty slots in your inventory, not only if your inventory is entirely full.
Affects 1.17.1.
Just noting out that this also affects when you have an item on the cursor when the inventory is open, since you would expect the item to not be dropped as per MC-224946. Instead, the item drops.
[media][media]
Can confirm in 1.18.2 and 22w12a. You can run the following command whilst in survival mode and observe how the wooden sword dropped on the ground isn't picked up by your offhand.
/give @s minecraft:wooden_sword 37
"Fixing" this may be a bad idea from a game design point of view as changing the item in the offhand would change the right-click behavior of the player. For instance, if I am holding a bow and walk over stone and that stone goes into my offhand. Now, I am unexpectedly placing stone instead of shooting my bow...
Is this still an issue in the latest snapshot 16w44a? If so please update the affected versions.
This is an automated comment on any open or reopened issue with out-of-date affected versions.