Skip to content

Delver's Tally player guide

Delver’s Tally keeps your inventory in order. It sorts, puts things where you want them, refills your hand, takes a tool out of your hand before it breaks, swaps worn armor for a spare, puts on better armor, and moves items in bulk.

Each feature works with no setup. This page walks through them in the order you are likely to meet them. The rules reference has every detail of the rules file.

Open your inventory and press R. Stacks of the same item are merged and everything is put in order: tools and weapons, armor, food, potions, ammunition, blocks, materials, and the rest, each group in the creative menu’s order. With a chest, barrel, or shulker box open, R sorts the part your mouse is over.

There are three ways to sort:

  • The sort key, R, sorts the region under the mouse.
  • Middle-click a slot to sort its region. In creative mode, middle-click still copies a stack.
  • Sort buttons sit above the right end of each region. There are three, one for each layout: “Sort” packs everything together, “Sort, one item per row” starts a new row for each kind of item, and “Sort, one item per column” starts a new column. When the items do not fit that way, the packed layout is used.

The key and middle-click use the layout you pick in settings (“Sort key mode”).

A sort does nothing while your cursor holds a stack, and the creative inventory screen is not sorted.

A sort covers the whole player inventory: the three rows of the main inventory and the hotbar. Without rules, loose items fill the main inventory first and reach the hotbar only when it is full, but a sword that sits in your hotbar is sorted with everything else.

To keep your hotbar the way you set it, do one of these:

  • Lock the slots. Hover a hotbar slot and press L. See Locked slots.
  • Write rules. A rule such as h:1 sword tells the sort to put a sword in hotbar slot 1 every time. See Rules.

Hover a slot in your inventory and press L to lock it; press L again to unlock it. A small padlock marks the slot.

Nothing automatic touches a locked slot: sorting, refill, equipment preservation, auto-armor, picked-up items, and the move and drop shortcuts all leave it alone. You can still click it yourself.

There are two padlocks, the same shape in two colors:

  • A gold padlock is a lock you set with L. Press L to remove it.
  • A blue padlock is a lock written in your rules file (lock h:5). L does not remove it: change the rules file. A slot locked both ways shows the blue one.

Locks you set with L are remembered for each rule set. To hide the padlocks, turn “Padlock on locked slots” off in settings; the slots stay locked.

Rules say where items go. They live in a text file, config/delverstally/rules.txt, which you can edit while the game runs.

h:1 sword
h:2 pickaxe
h:8 minecraft:torch
h:9 food
3:* blocks
lock h:5

With these rules a sort puts your sword in hotbar slot 1, a pickaxe in slot 2, torches in slot 8, food in slot 9, and blocks along the bottom row. Hotbar slot 5 is locked.

The rules reference explains the file: how to switch the example rules on, zones, what a rule can match, rule sets and the key that switches between them, which rule wins, the messages for a mistake, and the category list.

While “Place picked-up items by rules” is on, an item you pick up moves to the place your rules give it without a sort, when that place is free. A stack of blocks in the hotbar slot you have selected stays in your hand. The rules reference has the details under Items you pick up.

When the stack in your hand runs out, the next stack of the same item moves in from the main inventory: place your last cobblestone and the hand is full again. The same happens when you eat your last bread or drink your last potion, and for your offhand.

  • A locked slot is never refilled and never used to refill another.
  • refill never <item> in the rules file keeps an item from being refilled.
  • “Refill ignores item data” lets the same item with a different name or enchantments count.

Most tools, weapons, and armor are destroyed when their durability runs out, and their enchantments go with them. Equipment preservation takes an item out of use just before that, so you can repair it. It is part of Refill and works while Refill is on.

For the item in your hand or your offhand:

  1. With a replacement in the main inventory, the worn item and the replacement trade places when the worn one reaches 1 use left. Another pickaxe of any material counts for a pickaxe (“Replace tools by kind”).
  2. With no replacement, you get one warning, a low note and “No replacement for Iron Pickaxe” over the hotbar, when the item reaches 10 uses left.
  3. At 1 use left with no replacement, the item moves out of your hand to the first empty slot of the main inventory. If that is full, it goes to an empty hotbar slot. If there is no empty slot at all, it stays in your hand and you see “No room to preserve Iron Pickaxe”.

For armor you are wearing:

  • With a spare for that slot in the main inventory, the worn piece and the best spare trade places at 1 use left.
  • With no spare, the piece stays on and you get the same warning at 10 uses left. It breaks when it runs out.
  • An elytra is never traded: it stops flying at 1 use left and does not break. A piece with Curse of Binding cannot be taken off. Both get the warning.

An item that close to breaking stays out of your hotbar while the main inventory has room for it: a sort and a pickup leave it there, refill never brings it into your hand, and auto-armor never puts a worn piece on. Repair it and it is treated like any other item again.

Four settings under Refill control this: “Preserve worn equipment” turns it on or off, “Preserve at durability” is the number of uses left at which an item is traded or moved, “Warn at durability” is when the warning comes (0 never warns), and “Warn when no replacement” turns the warning’s sound and message on or off.

Some modded tools do not break at zero durability, and you may want to use them up. Turn preservation off for an item with a line in the rules file:

preserve never minecraft:flint_and_steel

After you sort your inventory (“Equip after sorting”), the best armor in the main inventory goes on: each piece is compared with the one you wear by armor points, then toughness, knockback resistance, protection enchantments, and durability left, and it must be better to replace it. Turn on “Equip on pickup” to have armor go on as soon as you pick it up.

  • Curse of Binding armor is never put on and never taken off.
  • An elytra you are wearing is left alone unless you turn “Replace elytra” on.
  • Pumpkins and heads are left alone.
  • armor never <item> in the rules file keeps a piece from being put on for you.

Hold Alt while you click to move items in bulk:

Keys What happens
Alt + left-click Every stack of the item you clicked moves to the other side: from a chest to your inventory, or the reverse. In the inventory screen, between the main inventory and the hotbar.
Alt + Shift + left-click Every unlocked stack on that side moves to the other.
Alt + your drop key, over a slot Every stack of that item is dropped.

If Alt + click drags the window on your system, rebind “Move Items (hold and click)”.

Every key can be changed in Controls, under “Delver’s Tally”:

Key Starts as
“Sort Inventory or Container” R
“Lock or Unlock Slot” L
“Move Items (hold and click)” Alt
“Next Rule Set” no key
“Reload Rules” no key

Open the settings screen from Mod Menu on Fabric, or from Mods > Delver’s Tally > Config on Forge. The same settings are in config/delverstally/settings.json.

  • Features turns each of the four features on or off: “Sorting”, “Refill”, “Auto-armor”, and “Move and drop shortcuts”. A change here takes effect after a restart. Sorting and the shortcuts can also be “Automatic”: see Other mods.
  • Sorting: “Sort key mode”, “Rule set”, “Middle-click sorts”, “Sort buttons”, and “Place picked-up items by rules”.
  • Refill: the four equipment preservation settings, “Refill ignores item data”, and “Replace tools by kind”.
  • Auto-armor: “Equip after sorting”, “Equip on pickup”, and “Replace elytra”.
  • Servers without Delver’s Tally: “Clicks per tick” is how many clicks are sent each tick. 0 sends a whole sort at once. Lower it if a server flags fast clicking.
  • Display: “Padlock on locked slots”.

Delver’s Tally is a client mod. It works on any server, vanilla included, by making the same clicks you could make yourself. A server that has the mod too takes each change as one message in place of those clicks.

  • Other sorting mods. With Sorting or the shortcuts on “Automatic”, Delver’s Tally turns off what another installed mod already does, so the two do not fight: both for Inventory Profiles Next, and sorting alone for Inventory Sorter. Set a feature to “On” to run both.
  • Quark. Delver’s Tally’s sort buttons hide, since Quark draws its own in the same place; the sort key and middle-click still work. This holds with Sorting on “Automatic” and on “On”.
  • Mouse Tweaks. Works alongside: Delver’s Tally uses no scroll or drag actions.
  • JEI, EMI, and REI. The item list keeps clear of the sort buttons.
  • Backpacks and storage mods. Sophisticated Backpacks and Sophisticated Storage (both Forge only) and Traveler’s Backpack sort themselves with their own buttons, and sorting them from outside did not work reliably. So on their screens Delver’s Tally shows no sort buttons and its sort key and Alt shortcuts do nothing, over your inventory too. The same goes for terminals from Applied Energistics 2, Refined Storage, and Tom’s Simple Storage, and for Create’s toolbox. Locks, refill, and auto-armor work there as anywhere. Chests from mods such as Iron Chests sort as vanilla chests do.
  • Curios and Trinkets. Accessory slots are never touched.

Categories and the button and padlock pictures can be changed by a resource pack. The rules reference has the category file format and the texture sizes. A built-in “Delver’s Tally 32x” resource pack, off by default, holds the buttons and padlocks at twice the size.

A resource pack, or a mod’s own author, can also say how Delver’s Tally treats another mod’s screen: sort it, sort part of it, or leave it alone. The mod support page shows how.