CleanContainer - Fabric - 1.20.X
[1.21.1 | 1.21 | 1.20.6 | 1.20.5 |1.20.4] - Fabric API dependency
Sort player's inventory and containers inventories
Features
-
Sort player's inventory & containers inventories
-
Transfer content - From containers to player's inventory
- From player's inventory to containers
-
Toggle Hotbar (lock/unlock) to prevent hotbar's items from being moved or sorted
-
Quick sort player's inventory key

Accessibility
- Custom key bind in game settings to quick sort player's inventory.
- Custom key bind in game settings to change UI buttons position.

Changelog
May 2024 - mod version 1.3.0
[Bug Fixes]
- Potions getting duplicated when sorting
- Enderchest transfer to player's inventory now works
- Items durability are no longer duplicated
[Add]
- Keybind to change CleanContainer buttons position (far-left, left, right, far-right)
Disclaimers
- CleanContainer could contain bugs and issues.
- Please provide me feedback if you encounter any issues using it.
- Feel free to contact me for any mod ideas or CleanContainer improvements.
Supported containers

How to Install CleanContainer (Mod)
CleanContainer by hasteinMC is verified for Fabric across Minecraft versions 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1 (latest release: 1.5.0, file size: 48 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded CleanContainer file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version### Needs Fabric API fabric-api-0.105.0+1.21.1
### Needs Fabric API fabric-api-0.102.0+1.21
- Changelog***
May 2024 - mod version 1.3.0
[Bug Fixes]
- Potions getting duplicated when sorting
- Enderchest transfer to player's inventory now works
- Items durability are no long duplicated
[Add]
- Keybind to change CleanContainer buttons position (far-left, left, right, far-right)
- Changelog***
May 2024 - mod version 1.3.0
[Bug Fixes]
- Potions getting duplicated when sorting
- Enderchest transfer to player's inventory now works
- Items durability are no long duplicated
[Add]
- Keybind to change CleanContainer buttons position (far-left, left, right, far-right)
May 2024 - mod version 1.3.0
[Bug Fixes]
- Potions getting duplicated when sorting
- Enderchest transfer to player's inventory now works
- Items durability are no long duplicated
[Add]
- Keybind to change CleanContainer buttons position (far-left, left, right, far-right)
- UI buttons (Lock Hotbar & Sort) are now **adapted wether the recipe book is open or not**.
- Equipped Armor & Shield **aren't transfered to container** when the player click on "sort container" UI button.
You can also **follow me** on Modrinth and [X (twitter)](https://twitter.com/Hastein281)
What's coming for CleanContainer ?
- Update for 1.20.6
_Adds ChestBoat support & Hotbar feature_
## Changelogs
- Fixed double chest issue where the content of double chest was in the middle row instead of top row when space was available.
- Reworked on minecart chest
- Added chest boat support
- Added Hotbar feature : lock/unlock player's inventory hotbar to prevent it from being moved or sorted
- Added GUI button matching the hotbar feature
If you enjoy this mod, please support me and like the mod.
Feel free to send me your feedback or suggestions !



# _Features list_
- Sort inventory
- Sort containers **(chest, double chest, barrels, enderchest, minecartchest)**
- Quick **Inventory move** (from container to inventory)
- Quick **Container move** (from inventory to container)
- Quick sort inventory **keybind** in options
Cleancontainer should work on Fabric server (include it to the mods folder of server and player mods folder)
# This is a first version, please contact me in case of bugs or errors, i would gladly update it.
# **Feel free to support me and leave me a message :)**