90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Icon

ClientSort

Versatile and easy inventory sorting.

Environment Latest Minecraft

Loader Loader Loader

Download on Modrinth Download on CurseForge Download on GitHub

Usage

To sort an inventory, simply hover over it with your mouse and press the keybind (default: middle mouse button).

The following sorting variations can be applied using modifier keys (Shift, Control, Alt).

  • Creative inventory search order
  • Descending order of quantity
  • Alphabetical order
  • Ascending order of item ID

In addition to sorting, ClientSort v2.0.0-beta.1 and later versions include the following operations:

  • Stack Fill
    • Attempts to complete all partial stacks in the other inventory using items in the target inventory.
  • Transfer
    • Attempts to move all items from the target inventory to the other inventory.
Sort demo Stack-fill demo Transfer demo

Trigger Buttons (v2)

In addition to keybinds, ClientSort can add small buttons to the inventory screen, which can be used to trigger operations.

  • All buttons are disabled by default, but can be enabled via the config menu or the editor screen.
  • The editor screen can be opened via a keybind (unbound by default) when viewing an inventory.
  • When the buttons are visible, you can right-click on them to open the editor screen.
GUI demo Editor demo

Slot Ignoring (v2)

If you want operations to ignore specific slots, you can click on the slots while viewing the editor screen to add them to the ignore-list for that inventory.

Clientside Policies (v2)

ClientSort uses a policy system to determine when to allow operations, when to show the trigger buttons, and when to ignore slots. The policy can be configured either via the editor screen or via the Policies tab of the mod options.

Read the in-game instructions for more information on editing policies.

Serverside Policies (v2)

If installed on a server or in singleplayer, ClientSort uses policies to automatically disable server-accelerated operations when it detects an incorrect state (such as item duplication).

The policy list is stored in the clientsort-server.json config file, which can be manually edited and reloaded using the /clientsort reload command.

Serverside policies are not synced to clients, so connected clients may still attempt to sort a disabled inventory (unless they have a client-side policy disabling it), but the server will not perform the operation.

Installation

Client Required, Server Optional

As the name suggests, ClientSort is fully functional when it is only installed on the client. However, if it is also installed on a server, connected clients with the mod will be able to use server-accelerated (near-instant) operations instead of the normal rate-limited operations.

Dependencies

Fabric: Fabric API, ModMenu, Cloth Config API

Neo/Forge: Cloth Config API

Credits

ClientSort uses code from the following mods, in both modified and unmodified form, in accordance with their respective licenses.

Related Mods

  • Mouse Tweaks - item scrolling, mouse dragging.
  • More Mouse Tweaks - single-click crafting and trading, quick-move and quick-drop.
  • Tweakeroo - hand restock, auto tool-switch, tool break prevention and more.

Contact

Discord Server

GitHub Issues

License


Project members

TerminalMC

TerminalMC

Organization

NotRyken

Developer

Details

Licensed Apache-2.0
Published a year ago
Updated 12 days ago