mojira.dev
MC-84849

Items are not picked up into the offhand slot, when they don't fit elsewhere in the inventory

The bug

When your inventory is full but your offhand slot is empty you can't pick up items.

Linked issues

Attachments

Comments 24

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.

Can confirm for MC 1.12.1.

Confirmed for 1.13.1.

Confirmed in 1.16-pre5.

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.

14 more comments

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.1.

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

Can confirm 1.21.4 Pre-release 3.

"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...

[Mod] redstonehelper

(Unassigned)

Confirmed

Platform

Normal

Inventory, Player

Minecraft 15w31c, Minecraft 15w40b, Minecraft 15w44b, Minecraft 16w36a, Minecraft 16w39a, ..., 1.19.3, 1.20.3 Release Candidate 1, 1.20.4, 1.21.4, 25w02a

Retrieved