Offhand Swapper

About

A client-side Fabric mod for Minecraft *.21.* that binds specific items (with exact NBT matching) to hotkeys for instant offhand swapping. Players use /sbind command to bind the held item to a GLFW key, then press the key to swap that exact item into their offhand from anywhere in their inventory. Features include a Mod Menu integration screen listing all active binds with edit/delete options, JSON ****** persistence, and full NBT-aware item comparison using ItemStack.areItemsAndComponentsEqual(). Works in singleplayer and multiplayer, functions even with inventory open, and gracefully handles missing items or server-side swap restrictions.