Inventory Management

Manage your inventory contents with a single click! This mod adds special buttons to the inventory and container interfaces that allow you to automatically sort items, transfer them between containers, and merge stacks. Works in single player when installed on the client, and in multiplayer when installed on both client and server.

Configuration
Configuration capabilities added in version 1.1.0 for Minecraft 1.19. The version for 1.18.2 does not support configuration.
Configure the mod's behavior through the inventorymanagement.toml file in the config folder. If you have ModMenu installed, you can also access the settings through its interface in the mod list!
modEnabled:true|false- Enable/disable the modshowSort:true|false- Display sort buttonsshowTransfer:true|false- Display transfer buttonsshowStack:true|false- Display stack merge buttonsguiTheme:"light"|"dark"|"auto"- Interface theme selection: light (vanilla), dark (VanillaTweaks) or automatic selectiondefaultPosition:"(<Integer>,<Integer>)"- Default button position settingsscreenPositions:{"ID": "(<Integer>,<Integer>)"}- Button position settings for individual screens
Changing Button Positions
For compatibility with other mods, you can customize the placement of inventory management buttons. To change the position of all buttons, use the defaultPosition option in settings or the ModMenu interface. To configure a specific screen, hold Ctrl/Cmd and click on any interface button - this will open the position editor for the current screen. This is especially useful when using mods that add additional inventory slots!
Sorting

The sort button appears in all sufficiently large containers and your inventory. When clicked, items are automatically organized! Sorting is mostly alphabetical with some exceptions. The hotbar is ignored during sorting, so your main tools remain in place.
Before sorting

After sorting

Transfer All Items

The "take all" and "put all" buttons move all items from one inventory to another! The process starts from the top left slot and continues until the target inventory is full. As with sorting, the hotbar and equipped items are ignored.
Automatic Stack Merging

The stack merge buttons work similarly to transfer buttons, but only transfer items that can complete partial stacks in the target inventory. This allows efficient space optimization without moving all items completely.
Before merging

After merging
