Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configurable item ordering options #156

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

dvdkon
Copy link

@dvdkon dvdkon commented Nov 27, 2022

Allows a few different user-selected methods of sorting (by count, name (part of ID) and namespace+name). The method can either be set in the config file or by /invsorter setordering <mode>.

It also makes the quantity ordering more stable by adding a secondary criterion of item ID: If there are multiple items of the same quantity, there is now only one canonical sort, which means multiple sorts of the same inventory are idempotent.

Closes #122.

@ABruel
Copy link

ABruel commented Mar 3, 2023

Thanks for this, was about to learn minecraft modding to do it myself, now only had to learn how to build this.

@WanderBoi
Copy link

Is this still not implemented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: Allow sorting by other criteria
3 participants