Inventory Profiles Next

Inventory Profiles Next

24M Downloads

[Suggestion] Hotbar should prioritize small stacks

evie-calico opened this issue ยท 2 comments

commented

At the moment, pick-blocking or shift-clicking will first try to combine a stack into the player's hotbar, before moving into the proper inventory.

As an example, shift-clicking this cobblestone:
image

becomes this:
image

However, it would be more convenient if the smallest stack was placed in the hotbar, like this:
image

This way smaller stacks can be used up first and free up an inventory slot, as opposed to ending up with two incomplete stacks in both the hotbar and inventory.

Similarly, it would be nice if pick-blocking and the "auto refill" that occurs when you run out of blocks grabbed the smallest stack.

commented

I figured this might be more complicated than it seems. This is a pretty minor request anyways so it's completely understandable if it can't be reasonably implemented :)

commented

Hi,

Shift click is handled by minecraft in particular it's handled server side. If I reimplement it to be handled client side this will break lots of server plugins that introduce special behaviour when shift clicking. I don't really wonna do that because it will lead to too many complains. Also this will break lots of mods that add new equipment slots for example trinkets.

About keeping full stacks in the inventory and refilling with partial. This will require complete rewrite of the code that handles auto refill. I'll look into this and if it's not too complex I'll add an option in the settings.

TLDR;
Change shift click - No.
Refilling with partial stacks first - May be.