mojira.dev
MC-262406

Full item stacks do not swap with smaller stack on cursor

In any inventory, when holding a full stack of an item in the cursor, clicking on a partial stack of the same item swaps the clicked stack with the cursor stack (maybe not technically, but functionally), however when holding a partial stack of an item in the cursor, clicking on a full stack of the same item does nothing.

What I expected to happen was...:
Clicking a full stack with the partial stack should swap the stacks, as there is nothing else to do.

What actually happened was...:
Nothing happens when clicked.
**

Steps to Reproduce:
1. Put two stacks a stackable item in the inventory.
2. Split one stack, and click on the other full stack with the half stack in the cursor.

Comments 1

The items are not swapping, but instead the player is increasing the count of the item stack in the inventory to (maximum) 64, and then all the left over items are left inside the player's cursor. More specifically; if I have 32 items and try to add 64 to them, I will not be able to and only 32 items will be added to the stack, and 32 will be left over.

TeraV

(Unassigned)

Unconfirmed

inventory

1.19.4

Retrieved