mojira.dev
MC-140571

Mass-transferring items only applies to tools with the same damage value

The bug

Mass-transferring items into one inventory to another (shift-double clicking) will only move items of the same type if they have the same damage / durability value.

It is probably intended that only items with the same NBT are moved (for instance to allow this feature to work properly for enchanted books), however it is an inconvenience for items that are equal apart from the damage value.

To reproduce

  1. Place a chest

  2. Give yourself multiple golden swords with different damage values

    /give @s minecraft:golden_sword{Damage:x}
  3. Open the inventory of the chest

  4. Pick up an item with your mouse cursor

  5. Double click onto one of the swords while holding shift
    → ❌ Only that item is transferred

Linked issues

Attachments

Comments 8

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 21w05b.

Can confirm in 21w06a.

Can confirm in 1.16.5 and 21w08b.

Can confirm in 1.17.1.

Can confirm in 1.18.2 and 22w18a.

Can confirm in 1.19.

Mathias Svanborg

(Unassigned)

Confirmed

UI

Minecraft 1.13.2, 20w13b, 20w51a, 21w03a, 1.16.5, ..., 1.19.4, 1.20.1, 1.20.4, 1.21.1, 24w38a

Retrieved