ModsFinder

Ai Inventory Sorter

by iDontByte

AI Inventory Sorter adds a button to the inventory screen that sends the contents to an AI model, which returns a new slot layout for every item.

FabricClient-side onlyMIT License1.21.11

What it does

Pressing the sort button hands the current inventory to an AI service. The reply is read as a JSON array, and each stack is moved to the slot the model chose. The mod cleans code fences from that reply and extracts the array, so stray formatting does not break the sort. Players who open the inventory and see no change after the AI finishes are hitting a known bug; closing the inventory after clicking the button is the suggested workaround.

The sorting follows built-in rules. The inventory is split into left, middle and right thirds, with shulker boxes, tools, weapons, armor, blocks, miscellaneous items and food each placed in their own section, and the hotbar and main inventory are arranged with the hotbar reserved for a chosen set of items. Modded items such as spears and custom tools are classified by the same rules. Priorities can be changed in a config file. The author notes that editing the source code is also possible but not recommended.

AI Inventory Sorter is a Fabric mod for Minecraft 1.21.11 and requires Fabric API. It runs client-side only, so players install it and servers do not need it. The code is under the MIT License and the project is not open source as a whole. Files are published as v0.0.1a on the alpha channel.

Key features

  1. Sort button in the inventory

    A small button in the inventory screen starts the AI sort, so no command is needed.

  2. Sectioned layout

    Items are grouped into left, middle and right thirds, with shulker boxes, food, tools and blocks each in their own section.

  3. Hotbar and main inventory rules

    The hotbar and main inventory are arranged by built-in rules, with the hotbar reserved for a chosen set of items.

  4. Modded item classification

    Items added by other mods, including spears and custom tools, are sorted according to the same defined rules.

  5. Adjustable slot priorities

    A config file lets players change slot priorities, and the author notes that the mod has no in-game settings screen.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
1.21.11v0.0.1a
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

How it compares

Full comparison

Auto-Sorter is a Fabric mod for 1.21 – 1.21.11 that runs client-side only and is open source under the Apache License 2.0, so it does not use an AI service. Quick Inv Sorter is a Fabric mod for 1.21.11 that needs both client and server and is released under the MIT License without being open source.

ModLoadersGame versionsEnvironmentUpdated
Ai Inventory SorterFabric1.21.11Client-side only2026-03-26
Auto-SorterFabric1.21 – 1.21.11Client-side only2026-02-09
Quick Inv SorterFabric1.21.11Client and server2026-04-21

Questions

Does AI Inventory Sorter need Fabric API?

Yes. Fabric API is a required dependency and must be installed alongside the mod on Fabric.

Does the server need AI Inventory Sorter?

No. The mod is client-side only, so players install it and the server can run without it.

How long does a sort take?

The author notes that a full inventory takes 15 to 20 seconds, while a smaller inventory takes 5 to 10 seconds.

In the catalog

Ai Inventory Sorter is one of 4,058 Storage mods on ModsFinder, and one of 2,474 Storage mods for Fabric. 19,862 mods support Minecraft 1.21.11.

Similar mods

What the author says

AI Inventory Sorter is a Minecraft mod that automatically organizes your inventory using AI. It places items in the optimal slots, ensuring your hotbar and main inventory are efficiently arranged for gameplay. Q: How do I assign an Ollama API key? A: Add your API key to config/aiinventorysort.json under apiKey.
iDontByte, on the Modrinth page

Official listing

Owner
iDontByte
Published
2026-03-26
Updated on Modrinth
2026-03-26
Facts verified
2026-10-15

Tags