Skip to content

feat(ui): 增强 MenuExtensions Shift+点击支持并修复槽位交互问题#650

Merged
Bkm016 merged 3 commits intoTabooLib:dev/6.2.3from
zhibeigg:menu
Feb 6, 2026
Merged

feat(ui): 增强 MenuExtensions Shift+点击支持并修复槽位交互问题#650
Bkm016 merged 3 commits intoTabooLib:dev/6.2.3from
zhibeigg:menu

Conversation

@zhibeigg
Copy link
Contributor

@zhibeigg zhibeigg commented Feb 5, 2026

feat(ui): 添加对 Shift+点击的限量与条件规则支持
refactor(ui): 重构 conditionSlotamountCondition 以支持延迟处理
fix(ui): 修复 returnItems 中可能返还空气物品的问题
refactor(ui): 提取 pickupHalfOut 等辅助函数以复用逻辑
fix(ui): 修正副手交互的快捷键常量从 OFFHAND_SLOT 改为 OFFHAND_HOTBAR_BUTTON
refactor(ui): 将 lockSlot 中的 Shift+点击检查改为使用 computeShiftMovePlan
fix(ui): 修复 lockSlot 中双击收集可能从不允许槽位收集的问题

zhibeigg and others added 3 commits February 4, 2026 17:41
fix(ui): 修复`COLLECT_TO_CURSOR`操作中收集物品数量的计算逻辑
fix(ui): 修复`HOTBAR_SWAP`和`HOTBAR_MOVE_AND_READD`操作中副手物品的获取方式
fix(ui): 修复`lockSlots`函数中`MOVE_TO_OTHER_INVENTORY`操作的锁定检查逻辑
fix(ui): 修复`lockSlots`函数中`COLLECT_TO_CURSOR`操作的收集检查逻辑
fix(ui): 修复`lockSlots`函数中`HOTBAR_SWAP`和`HOTBAR_MOVE_AND_READD`操作的锁定检查
fix(ui): 修复`lockSlots`函数中`rawSlots`集合的交集检查逻辑
refactor(ui): 添加副手槽位索引常量`OFFHAND_SLOT`并导入`PlayerInventory`
refactor(ui): 重构 `conditionSlot` 和 `amountCondition` 以支持延迟处理
fix(ui): 修复 `returnItems` 中可能返还空气物品的问题
refactor(ui): 提取 `pickupHalfOut` 等辅助函数以复用逻辑
fix(ui): 修正副手交互的快捷键常量从 `OFFHAND_SLOT` 改为 `OFFHAND_HOTBAR_BUTTON`
refactor(ui): 将 `lockSlot` 中的 Shift+点击检查改为使用 `computeShiftMovePlan`
fix(ui): 修复 `lockSlot` 中双击收集可能从不允许槽位收集的问题
@zhibeigg zhibeigg marked this pull request as ready for review February 5, 2026 21:47
@Bkm016 Bkm016 merged commit eb4ffda into TabooLib:dev/6.2.3 Feb 6, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants