跳到正文

Sort OG

作者:Miami_mods

Press R or click a button to sort any chest or your inventory: stacks merge and items line up. Client side, works on any server.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Sort OG animated logo

Sort OG

Forge • NeoForge • Fabric • Quilt | 1.12.2 → 26.3

Press R and your chest is sorted. Sort OG merges partial stacks and lines everything up, in any chest, barrel, shulker box or your own inventory. It only needs to be on your side: it sorts with the same clicks you would make, so it works on any server, even a plain vanilla one, without asking anyone to install anything.

A messy chest sorted with one click, then the inventory

One click on the chest’s button, one on the inventory’s (or press R).

What it does

Features

  • ⌨️ One key: press R (change it in Controls) and the section under your mouse is sorted: the chest, or your inventory. With the mouse elsewhere, the chest goes first.
  • 🖱️ Or one click: a small button sits above each section’s slots, and middle click sorts too (in survival and adventure: in creative it still copies items, as usual).
  • 📦 Stacks merge: three half stacks of iron become one full stack and a bit, leaving free slots.
  • 🔤 Three ways to sort: by category (gear, food, blocks, then the rest), by name (A to Z) or by amount (what you have most of first). Shift + R, or shift-click on a button, changes the mode, and it’s remembered.
  • 🎒 Your hotbar stays put: sorting your inventory only moves the rows above the hotbar, and armor and the off-hand are never touched. Turn on sortHotbar if you want it sorted too.
  • 🧰 Works where it should: chests, double chests, barrels, ender chests, shulker boxes, hoppers, dispensers, minecart chests and modded chests with ordinary slots. On furnaces, crafting tables, anvils and other machines their slots are left alone, and the key sorts your inventory instead.
  • 🔒 Safe: nothing happens with an item on your cursor, while you type in a text box (an R in an anvil’s name field is just an R), or in the creative inventory. Damaged tools and renamed or enchanted items stay separate.
  • 🌍 Client side: install it, join any server. It’s harmless on a server too, so it’s fine in a modpack that runs on both sides.

Configuration

The key is in Options > Controls > Key Binds, under Sort OG. Everything else is in config/sortog.properties (created on the first start, with a comment on each line):

Setting Default What it does
mode category How items are ordered: category, name or amount
sortHotbar false Also sort the hotbar when sorting your inventory
middleClick true Middle click sorts too (survival and adventure)
showButtons true Show the small sort buttons on inventory screens

Compatibility

Loader Minecraft versions
NeoForge 1.20.4, 1.20.6, 1.21.1, 1.21.3, 1.21.4, 1.21.5, 1.21.8, 1.21.10, 1.21.11, 26.1.2, 26.2, 26.3
Forge 1.12.2, 1.16.5, 1.17.1, 1.18.2, 1.19.2, 1.19.3, 1.19.4, 1.20.1, 1.20.2, 1.20.4, 1.20.6, 1.21.1, 1.21.3, 1.21.4, 1.21.5, 1.21.8, 1.21.10, 1.21.11, 26.1.2, 26.2, 26.3
Fabric / Quilt 1.16.5, 1.17.1, 1.18.2, 1.19.2, 1.19.3, 1.19.4, 1.20.1, 1.20.2, 1.20.4, 1.20.6, 1.21.1, 1.21.3, 1.21.4, 1.21.5, 1.21.8, 1.21.10, 1.21.11, 26.1.2, 26.2, 26.3 (needs Fabric API)
  • Nothing to install on the server: every sort is a series of ordinary inventory clicks. If a server’s rules forbid inventory sorting mods, those rules still apply to you, so check before you use it there.
  • No new items or blocks, so you can add it to or remove it from an existing world at any time.
  • Works with Sodium, Iris and shader packs (the screenshots below use Complementary Reimagined).
  • Every version is tested in-game before release (real chests, full double chests, every mode, the key, the buttons, middle click, an item on the cursor, text boxes, machines and the creative inventory), with the result checked on the server, and boots on a dedicated server.
  • MIT License: use it in any modpack.

Gallery

A messy double chest, one press of R later

Double chest before and after

Your inventory is sorted too, and the hotbar stays as you set it

Inventory before and after

Stacks merge, leaving free slots

Chest before and after

A storage room that stays tidy

Storage room

A small button above each section

Sort button

Sorted by amount: what you have most of comes first

Sorted by amount

More screenshots in the Gallery tab.


💬 Found a bug or have an idea? Leave a comment. Feedback is always welcome!

⭐ If Sort OG tidied up your base, a follow helps a lot!

常见问题

Sort OG 支持哪些 Minecraft 版本?

Sort OG 支持 Minecraft Java 版 1.12.2–26.3,共 30 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Sort OG 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Miami_mods 的其他作品

查看全部 →