对库存控制的调整,包括副手物品点击切换以及从库存中拖出。
仅在客户端*和单人游戏中生效。
*详情见下方的 拾取方块调整
当前功能:
护甲交换
快速交换手持和穿戴的护甲。
Minecraft 1.19.4 将此功能添加到了原版;
Inventory Control Tweaks 仅在此功能及后续版本上增加可配置性。

拾取方块调整
以下功能会改变拾取行为(对方块和实体进行鼠标中键点击)。
在 Minecraft 1.21.4+ 中,如果你处于创造模式且按住控制键,
这些功能仅在模组已安装到服务器上时才生效。
如果未安装,拾取将遵循原版行为。
如果你不处于创造模式且按住控制键,即使服务器未安装该模组,这些功能也会生效。
这些功能在 Minecraft 1.21.3 及以下版本始终有效,并且在单人游戏中始终有效。
拾取填充手持堆叠 & 拾取绝不更改槽位:

拖拽物品调整
跨库存或移出库存时,拖拽单个、匹配或所有堆叠。



副手调整
Shift 点击可将食物或其他物品移入副手,或仅用于填满副手。

配置
支持 MidnightLib 和
Mod Menu 进行配置,但两者均非必需。
1.12.0 之前的版本支持 Cloth Config 而非
MidnightLib。
如果缺少 MidnightLib,选项将使用其默认值。
如果存在 MidnightLib,可以通过
Mod Menu 或编辑实例文件夹(对于原版启动器默认为 .minecraft/)中的 config/inventory_control_tweaks.json 来配置选项。
按键绑定:
- 拖拽匹配堆叠移出库存修饰键;默认:
left ctrl
- 拖拽所有堆叠移出库存修饰键;默认:
<unbound>
- 点击交换护甲修饰键;默认:
right shift
- 跨库存拖拽所有堆叠修饰键;默认:
left alt
选项:
通用
-
启用护甲交换;默认:true
手持一件护甲时右键点击,将其与当前穿戴的护甲进行交换。
-
装备/交换非护甲可穿戴物;默认:false
启用右键装备/交换可以装备到护甲槽的非护甲物品,例如生物头颅。
-
护甲交换黑名单;默认:<none>
使用此列表中的物品不会将其与当前护甲进行交换。
-
拾取填充堆叠;默认:true
如果你已经选中了要拾取的方块并执行拾取操作,你手中的堆叠将从库存中补充。
-
拾取绝不更改槽位;默认:true
当你执行拾取操作时,你选中的快捷栏槽位不会改变。
相反,拾取的方块将始终移动到该槽位。
如果安装了 Pick Block Pro,此功能将无效。
请在 PBP 的“库存”下的“保持在同一快捷栏槽位”中使用该功能。
拖拽物品调整
副手调整
-
Shift+点击以部分填充副手堆叠;默认值:true
如果你的副手中已有部分物品堆叠,Shift+点击同类型的另一堆叠物品会将这些物品添加到你的副手中。
-
Shift+点击任何食物至副手;默认值:true
当副手为空时,Shift+点击背包中的任何食物会将其移动到副手。
-
不将带有负面效果的食物 Shift+点击至副手;默认值:true
排除带有负面效果的食物,使其无法通过 Shift+点击移动到副手。
-
Shift+点击至副手的物品列表:默认值:
minecraft:shield, minecraft:firework_rocket, minecraft:totem_of_undying
当副手为空时,Shift+点击此列表中的物品会将这些物品移动到副手。
模组兼容性
-
Pick Block Pro:
ICT 1.3.27 及以上版本与 Pick Block Pro 1.7.20 及以上版本集成。
“拾取区块从不改变槽位”已被 PBP 在“背包”下的“保持在相同快捷栏槽位”所取代;如果安装了 PBP,请使用它代替。
ICT 的“拾取区块填满堆叠”功能将正常运行。
早期版本的 PBP 会禁用 ICT 的拾取区块功能,但其他功能正常运行。
-
Item Scroller:
部分不兼容;ICT 的 Shift+点击功能将无法工作。
不会发生崩溃,两个模组的其他功能仍将正常运行。
这可能与 Item Scroller 的设置有关。
翻译
安装 SSS Translate 以自动下载新翻译。
你可以在 Crowdin 上帮助翻译 Inventory Control Tweaks。
此模组仅适用于 Fabric(也兼容 Quilt!),我不会将其移植到 Forge。该许可证为 MIT,因此任何人都可以自由地进行移植。
如果你移植或修改了本项目,欢迎链接回此页面,但这并非强制要求。
Tweaks to inventory controls including offhand shift-clicking and dragging out of inventories.
Works client-side* and in single player.
*details in Pick block tweaks below
Current features:
Armor swap
Quickly swap held and worn armor.
Minecraft 1.19.4 added this feature to vanilla;
Inventory Control Tweaks simply adds configurability on this and later versions.

Pick block tweaks
The following features alter pick behavior (middle-clicking blocks and entities).
On Minecraft 1.21.4+, if you're in creative and holding control,
these features only work if the mod is installed on the server.
If it's not, picking will have vanilla behavior.
If you're not in creative and holding control, these features will work even if the mod is not installed on the server.
These features always work on Minecraft 1.21.3 and below, and they always work in single player.
Pick fills held stack and Pick never changes slot:

Drag item tweaks
Drag single, matching, or all stacks across or out of inventories.



Offhand tweaks
Shift click to move food or other items to or just to fill the offhand.

Configuration
Supports MidnightLib and
Mod Menu for configuration, but neither is required.
Versions before 1.12.0 support Cloth Config instead of
MidnightLib.
Options will use their default values if MidnightLib is absent.
If MidnightLib is present, options can be configured either through
Mod Menu or by editing config/inventory_control_tweaks.json in your
instance folder (.minecraft/ by default for the vanilla launcher).
Key binds:
- Drag matching out of inventory modifier; default:
left ctrl
- Drag all out of inventory modifier; default:
<unbound>
- Click to swap armor modifier; default:
right shift
- Drag all stacks across modifier; default:
left alt
Options:
General
-
Enable armor swapping; default: true
Right click while holding a piece of armor to swap it with the piece you're currently wearing.
-
Equip/swap non-armor wearables; default: false
Enables right click to equip/swap non-armor items that can be equipped to armor slots, such as mob skulls.
-
Armor swap blacklist:; default: <none>
Using items in this list won't swap them with your current armor.
-
Pick block fills stack; default: true
If you pick-block while you already have the picked block selected, the stack in your hand will be refilled from
your inventory.
-
Pick block never changes slot; default: true
When you pick-block, your selected hotbar slot won't change.
Instead, the picked block will always be moved to that slot.
If Pick Block Pro is installed, this feature has no effect.
Use PBP's "Stay in same hotbar slot" under "Inventory instead".
Drag item tweaks
-
Drag matching stacks across inventories; default: true
With an external inventory open (chest, dropper, etc. ), click, hold, and drag a stack between it and your
inventory to move all matching stacks.
-
Choose bottom row stacks first; default: true
When you use 'Drag matching stacks across inventories', stacks will be moved from the bottom of inventories first.
-
Move hotbar stacks; default: true
When you use 'Drag matching stacks across inventories', stacks in your hotbar will be included.
-
Deposit cursor stack; default: ON_RELEASE_AT_EMPTY
When you use 'Drag matching stacks across inventories', the stack you were dragging will be deposited.
-
Drag single stack out of inventory; default: true
With an inventory open, click, hold, and drag a stack outside the inventory to throw the stack.
-
Drag matching stacks out of inventory; default: WITH_KEY
With an inventory open, click, hold, and drag a stack outside the inventory to throw it and all matching stacks.
Optionally requires a key to be held which can be configured in Minecraft's controls interface.
-
When comparing stacks, ignore components; default: false
Components stores things like enchantments, damage, and map data.
Offhand tweaks
-
Shift-click to partial offhand stack; default: true
If a partial stack of items is in your offhand, shift-clicking another stack of the same type of items will add those items to your offhand.
-
Shift-click any food to offhand; default: true
Shift-clicking any food in your inventory while your offhand is empty will move that food to your offhand.
-
Don't shift-click food with negative effects to offhand; default: true
Excludes food with negative effects from shift-clicking to your offhand.
-
List of items that shift-click to offhand:; default:
minecraft:shield, minecraft:firework_rocket, minecraft:totem_of_undying
Shift-clicking items in this list while your offhand is empty will move those items to your offhand.
Mod compatibility
-
Pick Block Pro:
ICT versions 1.3.27 and up integrate with Pick Block Pro
1.7.20 and up.
"Pick block never changes slot" is superseded by PBP's "Stay in same hotbar slot" under "Inventory";
use it instead if PBP is installed.
ICT's "Pick block fills stack" feature will function normally.
Earlier versions of PBP disable ICT's pick block features, but other features function normally.
-
Item Scroller:
Partially incompatible; ICT's shift-click features won't work.
There won't be a crash, and other features of both mods will
still function.
This may be dependent on Item Scroller settings.
Translations
Install SSS Translate to automatically download new translations.
You can help translate Inventory Control Tweaks on Crowdin.
This mod is only for Fabric (works on Quilt, too!) and I won't be porting it to Forge. The license is MIT, however,
so anyone else is free to port it.
I'd appreciate links back to this page if you port or otherwise modify this project, but links aren't required.
评论 0
登录后参与评分
还没有评论,来抢沙发吧