Compatibility
Minecraft: Java Edition
Platforms
Tags
Creators
Details
Hotswap turns the three rows of your main inventory into three preset hotbars. Pre-arrange them once - mining tools in row 1, combat gear in row 2, food and utilities in row 3 - and switch between them with a single keypress instead of dragging items around mid-fight.
Controls
- V - swap your current hotbar with row 1 of the inventory (toggle: press again to swap back).
- B - cycle the hotbar through rows 1 -> 2 -> 3 -> 1 -> ... each press swaps the hotbar with the next stored loadout.
A subtle action-bar message confirms each swap so you always know which setup you're on.
How it works
Hotswap performs real inventory clicks under the hood (ClientPlayerInteractionManager.clickSlot), the same way you'd swap items by hand - just faster. No server-side mod required, no protocol changes, no item duplication. Items that are identical in both rows are skipped to keep the operation snappy.
Example workflow
- Row 1 - pickaxe, shovel, axe, torches, cobblestone (the mining kit).
- Row 2 - sword, bow, arrows, shield, food, totem (the combat kit).
- Row 3 - wheat, bone meal, seeds, beds, lantern (the farming kit).
Tap V to flip to mining instantly. Tap B twice to jump straight to farming. Your previous hotbar slides safely into the row it came from.
Compatibility
Works on Minecraft 1.21.8, 1.21.9, 1.21.10, and 1.21.11 (Fabric Loader 0.16+). One JAR for all four versions.
- Pure client-side - install only on your client, works on any vanilla server.
- Keys are read via raw GLFW polling, so no rebind UI is needed and the mod stays cross-version.
- Won't trigger while a text field is focused (chat / sign / anvil etc.).
Why
Vanilla's swap-with-offhand (F) only moves a single item. Mods that auto-sort the inventory rearrange but don't preserve intent. Hotswap respects the layout you set up and lets you switch contexts with the speed of a number-key press.


