Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Tags
Creators
Details
探囊取物 / Su's Instant Swap
一键交换手中物品,不再需要打开物品栏拖放,省时省力。
One key, instant item swap. No more opening inventory and dragging items with the mouse.

使用方式 / How to use
你可以使用两种方式快速把物品栏中的物品交换到手上
You can use one of two methods to quickly swap an item from your hotbar/inventory into your hand.
一键交换模式:
Instant swap mode:
-
按住
左 Alt键(键位可自定义)
Hold theLeft Altkey (fully customizable) -
物品栏界面出现(如此时松开按键,界面将关闭)
The inventory panel appears (if you release the key now, the panel closes) -
鼠标悬停在目标物品上
Hover your mouse over the desired item -
松开
左 Alt键执行交换,物品栏自动关闭
Release theLeft Altkey to perform the swap, the panel closes automatically
界面内交换模式:
In‑GUI swap mode:
-
短按
左 Alt键(键位可自定义)
Tap theLeft Altkey (fully customizable) -
物品栏界面出现(与原版一致,不会因松开按键而消失)
The inventory panel appears (vanilla‑like, stays open after key release) -
鼠标悬停目标物品上
Hover your mouse over the desired item -
再次短按
左 Alt键执行交换,物品栏自动关闭
Tap theLeft Altkey again to perform the swap, the panel closes automatically
键位设置 / Keybinding
你可以把 左 Alt 键改为 E 键,并禁用原版的打开物品栏按键,来节省你宝贵的快捷键位。
You can rebind the key to E and disable the vanilla inventory key to save a precious hotkey slot.
此外,界面内交换可以单独设置按键,用于避免误触。如果不设置按键,则自动使用主要按键。
The in‑GUI swap can use a separate keybind to avoid accidental swaps. If not set, it uses the main key automatically.
配置文件 / Configuration
你可以在游戏内模组配置中修改如下内容(Fabric 版需要 Mod Menu,否则需要自行到 config 文件夹中修改):
You can change the following options in the in‑game mod configuration (Fabric version requires Mod Menu; otherwise edit the config file directly in the config folder):
-
长短按模式 – 如果关闭,则无法通过短按像原版一样打开物品栏,适合额外配置快捷键,而不是替换
E键使用该模组的玩家。默认开启。
Long/Short press mode – If disabled, you can no longer open the inventory with a short press (like vanilla). Useful for players who want a separate keybind instead of replacingE. Default: ON. -
长按判定阈值 – 用于区分长按和短按。默认 200 毫秒。
Long press threshold – Used to distinguish between long and short presses. Default: 200 ms. -
交换音效 – 用于开关交换物品的音效。默认开启。
Swap sound – Enable/disable the sound when swapping items. Default: ON. -
鼠标重定位 – 在打开物品栏界面时,鼠标会自动移动到 UI 右下角避免遮挡。默认开启。
Mouse reposition – When opening the inventory panel, the mouse automatically moves to the bottom‑right corner to avoid blocking the view. Default: ON. -
界面中更换 – 如果关闭,则无法在物品栏界面内再次按键(或使用自定义按键)交换物品。默认关闭(防止玩家误触)。
Swap inside GUI – If disabled, you cannot swap by pressing the key (or custom key) while the inventory panel is open. Default: OFF (prevents accidental swaps).
其他说明 / Additional Info
-
模组为纯客户端,可在未安装该模组的服务器上使用,但请务必与服主确认,自行承担反作弊风险
Pure client‑side mod – works on servers without the mod, but always check with your server admin. Use at your own risk regarding anti‑cheat. -
模组完全由 AI 开发,如果遇到 BUG,请到 GitHub 提交问题
Developed entirely by AI. Please report bugs on GitHub. -
开源协议:LGPL 3.0
License: LGPL 3.0


