Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Creators
Details
InvTweaks
A Fabric mod for Minecraft that gives you precise control over how many items you pick up, transfer, and insert. Hold modifier keys while clicking to leave one behind, take exactly one, and manage bundles.
Features
- All But 1 — Hold a modifier key (default:
Ctrl) while clicking to pick up or transfer a stack but leave one item behind - Only 1 — Hold a second modifier key (default:
Alt) to pick up or transfer exactly one item - Shift+Click Transfer — Both modes work with shift-click quick-move between inventories and containers
- Bundle Support — Extract from and insert into bundles with the same modifier controls
- Configurable Keys — Rebind both modifier keys to whatever you prefer
- Per-Feature Toggles — Enable or disable each feature individually
- Key Flip — Swap what the two modifier keys do on a per-feature basis
Installation
- Install Fabric Loader for Minecraft 1.21.x
- Install Fabric API
- Drop
invtweaks-x.x.x.jarinto yourmods/folder - (Optional) Install Mod Menu for an in-game config screen
Configuration
If you have Mod Menu installed, click the config button next to InvTweaks in the mod list. Otherwise, edit config/invtweaks.json directly.
Default Keybinds
| Key | Action |
|---|---|
Ctrl + Click |
Pick up all but 1 |
Alt + Click |
Pick up exactly 1 |
Ctrl + Shift+Click |
Transfer all but 1 |
Alt + Shift+Click |
Transfer exactly 1 |
Both left and right variants of modifier keys are recognized.
Compatibility
InvTweaks is designed to work alongside other inventory mods:
- Mouse Tweaks — Fully compatible. InvTweaks detects Mouse Tweaks shift-drag operations and works correctly alongside them.
- Mod Menu — Provides an in-game configuration screen.
- Other inventory mods — InvTweaks uses mixin injection on
HandledScreenand should be compatible with most mods that don't override the same click handling methods.
macOS Note
InvTweaks includes specific handling for macOS Cmd+Shift+Click bulk-move behavior, preventing conflicts with the modifier key system. MacOS users should install MacOS Input Fixes for full compatability.
Known Limitations
- Creative Mode — InvTweaks does not currently work in the player's inventory while in Creative mode. Creative inventory uses a different screen handler that bypasses the standard slot interaction system. This may be addressed in a future update.
Credits
This mod is based on All-But-1 by Haage, originally released under the CC0 1.0 Universal public domain dedication.
InvTweaks by Tacticalle is a continuation and expansion of that work, including additional features, ongoing maintenance, and new additions. This version is licensed under the MIT License.
Building from Source
git clone https://github.com/Tacticalle/InvTweaks.git
cd InvTweaks
./gradlew build
The built jar will be in build/libs/.



