Smart QuickStack and inventory sorting mod for Fabric 1.21.9. Transfer matching items to nearby containers and sort inventories with multiple modes.
- Keybind (K): Press K to quick-stack items into nearby containers
- GUI Button: "↓" button in player inventory screen
- Smart Transfer: Automatically finds and fills matching containers
- Server-safe: Works on servers with or without the mod installed
- Multiple Sort Modes: Name (alphabetical) and Category (grouped)
- Sort Buttons: Dedicated buttons in inventory and container screens
- Right-Click: Change sort mode on the fly
- Double-Click: Double-click empty slots to sort
- Middle-Click: Middle-click empty slots to sort
- Smart Compacting: Automatically stacks similar items before sorting
- Hotbar Protection: Sorting ignores hotbar slots (9-36 only)
- In-Game Config: Via Mod Menu + Cloth Config
- Flexible Settings: Range, behavior, sounds, sort modes, and more
- File-Based:
config/refiller.json
Default config location: ./config/refiller.json
{
"enabled": true,
"range": 6,
"rangeY": 3,
"ignoreHotbar": true,
"allowEmptyDeposit": false,
"playSound": true,
"showToast": true,
"sortMode": "NAME",
"requireModifierToScroll": false,
"enableDoubleClickSort": true,
"sortHighlightedItem": true,
"fallbackOpenContainerOnly": true
}enabled- Enable/disable the modrange- Horizontal search radius (X/Z) for container detectionrangeY- Vertical search radius (Y) for container detectionignoreHotbar- Don't move items from hotbar slots (0-8)allowEmptyDeposit- Allow depositing into empty chests (false = only into chests already containing that item)playSound- Play chest close sound on successful transfershowToast- Show action bar message with transfer countfallbackOpenContainerOnly- On servers without the mod, limit to currently open container
sortMode- Current sort mode:NAME(alphabetical) orCATEGORY(grouped)requireModifierToScroll- Require holding CTRL to change sort modes with scroll wheel (future feature)enableDoubleClickSort- Allow double-clicking empty slots to sortsortHighlightedItem- When true, only sort the inventory under cursor; when false, sort both player and container
- Mod Menu - Adds config button to mod list
- Cloth Config - Provides in-game config GUI
These are compileOnly dependencies, so the mod runs fine without them.
./gradlew buildOutput: build/libs/refiller-<version>.jar
- Install Fabric Loader
- Install Fabric API
- Download the latest release from GitHub Releases
- Place
refiller-<version>.jarin yourmods/folder
MIT License - see LICENSE file
- QuickStack keybind and GUI buttons
- Inventory sorting with multiple modes
- Container screen sort buttons
- Double-click and middle-click sorting
- Smart item compacting before sort
- Configurable sort modes (Name, Category)
- Additional sort modes (Mod ID, Item ID)
- Whitelist/blacklist item tags
- Fabric Transfer API wrapper (for modded inventory support)
- Custom button textures/icons
- Scroll wheel to change sort modes (with modifier key)