config/customadvancements-common.toml and are applied client-side as tabs are added to the advancements screen.
Tab sorting is purely visual. It changes the order tabs appear in and has no effect on progression gating, blacklists, or any other server-side behavior. Because the sorting happens on the client, a player without the mod installed sees the unsorted order.
advancementTabSortingMode
enum
default:"UNSORTED"
Controls how the tabs in the advancements screen are ordered. Accepted values:
UNSORTED(default) — Tabs appear in their natural load order. No reordering is applied, which is identical to unmodded behavior.ALPHABETICALLY— Tabs are sorted A–Z by their display title, the text shown on the tab button rather than the internal resource location.DEFINED_LIST— Tabs are ordered according to the root advancement IDs listed inadvancementSortingList. Any tab not present in the list keeps its natural position after the explicitly ordered tabs.
advancementSortingList
list of strings
default:"[]"
An ordered list of root advancement resource location IDs, used exclusively when
advancementTabSortingMode = DEFINED_LIST. Each entry identifies the root advancement of a tab — the advancement with no parent that represents the tab itself. Tabs are displayed in the same order as their root IDs appear in this list.If the list covers every loaded tab, the tab order is replaced exactly. If only some tabs are listed, those are placed first in the given order and all unlisted tabs follow in their natural order.Entries that do not correspond to a root advancement loaded on the server are rejected as invalid, so a mistyped or non-root ID has no effect on the order.Examples
- UNSORTED
- ALPHABETICALLY
- DEFINED_LIST
No sorting is applied. Tabs appear exactly as Minecraft loads them. This is the default behavior and requires no extra configuration.
config/customadvancements-common.toml
Hiding tabs instead of reordering them
DEFINED_LIST only reorders tabs; it never removes them. Tabs left out of advancementSortingList are still shown, just later in the row. To remove a tab entirely, blacklist its root advancement — see Blacklist & Whitelist.
[INSERT IMAGE: Side-by-side comparison of the advancement tab bar under UNSORTED versus DEFINED_LIST ordering]