ModsFinder

CleanContainer

by hasteinMC

CleanContainer sorts the contents of chests, barrels, shulker boxes, minecart chests and ender chests, and can also sort the player's own inventory.

FabricClient and serverGNU General Public License v3.0 or later1.20.4 – 1.21.1

What it does

Sorting works on the player's inventory and on the storage containers they open, so stacks of the same item are gathered together. A quick sort key arranges the player's inventory with one press, and the key can be changed in the game's controls settings. Transfer actions move items between a container and the inventory, and enderchest transfers work with the player's inventory as well.

The mod also offers a hotbar lock that keeps hotbar items from being moved or sorted, and a setting in the game options that changes where the UI buttons sit. Its bug fixes address potions that were duplicated during sorting and item durability that was duplicated.

CleanContainer is licensed under the GNU General Public License v3.0 or later and is not open source. It needs Fabric API. The server and every player need the mod installed. Files target 1.20.4 – 1.21.1, with 1.5.0 for 1.21.1 as the latest release, published on 2024-09-28.

Key features

  1. Container sorting

    Chests, barrels, shulker boxes, minecart chests and ender chests can be sorted in place, grouping matching items together.

  2. Player inventory sorting

    The player's own inventory can be sorted separately from any container that is open at the same time.

  3. Quick sort key

    A key binding in the game controls triggers a quick sort of the player's inventory, and the binding can be changed.

  4. Hotbar lock

    A toggle keeps hotbar items from being moved or sorted, so a set layout stays in place during sorting.

Compatibility

Latest build for each game version and loader.

1.21.11.5.0
1.211.4.0
1.20.61.3.0
1.20.51.3.0
1.20.41.3.0
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

Lightweight Inventory Sorting is a Fabric mod for 1.20.6 – 26.3 that is client-side only and open source under the MIT License. InvSort is a Fabric mod for 1.20 – 26.2 that is client-side only and open source under the GNU Lesser General Public License v3.0 or later. CleanContainer differs from both by needing the client and server, and by targeting the older 1.20.4 – 1.21.1 builds.

ModLoadersGame versionsEnvironmentUpdated
CleanContainerFabric1.20.4 – 1.21.1Client and server2024-09-28
Lightweight Inventory SortingFabric1.20.6 – 26.3Client-side only2026-09-17
InvSortFabric1.20 – 26.2Client-side only2026-06-24

Questions

Does CleanContainer need Fabric API?

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

Does the server need CleanContainer?

Yes. Installation covers the server and each player's game.

Which game versions does CleanContainer support?

Files exist for 1.20.4, 1.20.5, 1.20.6, 1.21 and 1.21.1, so the mod covers that span of releases.

In the catalog

CleanContainer is one of 4,058 Storage mods on ModsFinder, and one of 2,474 Storage mods for Fabric. 32,366 mods support Minecraft 1.21.1.

More from hasteinMC

All projects

Similar mods

What the author says

[Bug Fixes] - Potions getting duplicated when sorting - Enderchest transfer to player's inventory now works - Items durability are no longer duplicated
hasteinMC, on the Modrinth page

Official listing

Owner
hasteinMC
Published
2024-02-07
Updated on Modrinth
2024-09-28
Facts verified
2026-10-15

Tags