工具提示中的背包
将 Minecraft 1.21 的背包工具提示交互功能移植到 Forge 1.20.1,让你可以查看任何背包的内容,滚动浏览其中的物品,并直接取出你需要的特定堆叠,而无需先将所有物品倒在地上。版本 1.1.0 带来了完整的现代 UI 体验,包括插槽间距、容量条的外观更新以及可选的选择横幅。

功能
- 支持原版背包、来自 Bundle In Palette 的染色背包以及
forge:bundles 标签中的任意其他物品。
- 三种插槽布局:Vanilla(1.21 风格的圆角单元格)、Experiment(浮动图标)和经典的 Classic 1.20.1 网格。
- 在背包工具提示上滚动以高亮显示你计划抓取的堆叠,然后右键点击立即将其取出,或左键点击继续填充背包而不将其掉落。
- 可选的 1.21 风格选择横幅会在你滚动后出现,在工具提示上方显示被高亮堆叠的名称。
- 经过优化的容量条,具有圆角边缘、灰色轮廓以及可配置的标签(空/满文本、数字读数或无)。
- 得益于轻量级的网络同步,在单人游戏和多人游戏中都能完美运行。
1.1.0 新增内容
- 全面的视觉刷新,镜像 Minecraft 1.21:圆角插槽、灰色插槽填充以及重新设计的容量条。
- 新增 Vanilla 与 Experiment 插槽样式,以及保留原样的 Classic 布局以供怀旧。
- 可选的“选择预览”工具提示,会根据物品名称缩放,并且仅在你滚动后才显示。
- 空背包现在会显示带有正确换行的辅助文本“Can hold a mixed stack of items”。
- 控制方式完全匹配 1.21 行为:手持背包时,你可以拾取、交换或存入堆叠,无需笨拙地拖拽。
SLOT TEXTURES

CAPACITY BARS

控制与流程
- 将鼠标悬停在任何库存界面中的背包插槽上。
- 工具提示打开,显示内容网格。
- 鼠标滚轮: 循环浏览工具提示中的堆叠;高亮插槽跟随你的滚动方向移动。
- 右键点击: 在仍然悬停原始背包插槽的同时,立即将高亮的堆叠抓取到你的光标上。
- 左键点击/拖拽: 行为如同原版,允许你在背包包含物品时移动背包本身。
提示:
- 即使工具提示部分在屏幕外,你也可以滚动;最后一个有效的插槽保持选中状态。
- 交互会自动忽略空背包,因此你不会意外地抓取“空气”。
配置

bundleintooltip-client.toml(首次启动后创建)提供了这些客户端选项。你可以手动编辑它,或者使用如 Configured 这样的游戏内配置编辑器来调整设置,而无需离开 Minecraft:
tooltip.showCapacityBar — 选择容量显示是现代 1.21 风格的条形图(true,默认值)还是经典的数值充盈度线条(false)。
tooltip.capacityLabelMode — 控制当条形图可见时内部显示的文本(默认为 VANILLA):
NONE: 留空条形图,就像 1.21 快照一样。
VANILLA: 在适当时候显示 “Empty” / “Full” 标签。
CLASSIC: 在条形图中心显示经典的 24/64 充盈度数字。
HYBRID: 混合两种风格(两端为 Empty/Full 标签,中间为数字)。
VANILLA_REVISED: 受预览 UI 启发的 Empty / Filling / Full 标签。
tooltip.slotTextureMode — 在 VANILLA(圆角、灰色插槽)、EXPERIMENT(浮动图标原型)或 CLASSIC(1.20.1 网格)之间选择。
tooltip.showSelectionBar — 切换在工具提示中滚动后出现的 1.21 风格选择横幅。
要求
- Minecraft 1.20.1
- Forge 47.3.0 或更高版本(1.20.1 分支)
安装
- 安装匹配的 Forge 版本。
- 将发布的 jar 文件放入你的
mods/ 目录。
- 启动游戏;“Bundle In Tooltip” 应出现在模组列表中。
致谢
由 dmor-me 创建。灵感来源于官方 1.21 背包 UX 设计,旨在与 Bundle In Palette 中的染色背包相辅相成。
Bundle In Tooltip
Backports the Minecraft 1.21 bundle tooltip interaction to Forge 1.20.1 so you can peek inside any bundle, scroll through its contents, and pull out the exact stack you want without dumping everything on the floor first. Version 1.1.0 brings the full modern UI treatment, right down to the slot spacing, capacity bar facelift, and the optional selection banner.

Features
- Works with vanilla bundles, dyed bundles from Bundle In Palette, and any other item in the
forge:bundles tag.
- Three slot layouts: Vanilla (1.21-style rounded cells), Experiment (floating icons), and the Classic 1.20.1 grid.
- Scroll on a bundle tooltip to highlight the stack you plan to grab, then right-click to withdraw it instantly or left-click to keep filling the bundle without dropping it.
- Optional 1.21-inspired selection banner appears once you scroll, showing the highlighted stack’s name above the tooltip.
- Refined capacity bar with rounded edges, grey outlines, and configurable labels (empty/full text, numeric readout, or none).
- Plays nicely in both singleplayer and multiplayer thanks to lightweight networking sync.
What’s new in 1.1.0
- Complete visual refresh that mirrors Minecraft 1.21: rounded slot corners, grey slot fill, and a redesigned capacity bar.
- New Vanilla vs Experiment slot styles plus the untouched Classic layout for nostalgia.
- Optional “selection preview” tooltip that scales to the item name and only shows after you scroll.
- Empty bundles now display the “Can hold a mixed stack of items” helper text with proper wrapping.
- Controls fully match 1.21 behavior: carrying a bundle lets you pick up, swap, or deposit stacks without awkward dragging.
SLOT TEXTURES

CAPACITY BARS

Controls & Flow
- Hover your mouse over a bundle slot inside any inventory screen.
- The tooltip opens, showing the contents grid.
- Mouse Wheel: cycle through stacks in the tooltip; the highlighted slot follows your scroll direction.
- Right-Click: while still hovering the original bundle slot, immediately pull the highlighted stack onto your cursor.
- Left-Click/Drag: behaves like vanilla, letting you move the bundle itself even when it contains items.
Tips:
- You can scroll even while the tooltip is partially off-screen; the last valid slot remains selected.
- The interaction ignores empty bundles automatically, so you won’t accidentally pull “air.”
Configuration

bundleintooltip-client.toml (created after first launch) exposes these client-side options. You can edit it by hand or use an in-game config editor such as Configured to tweak the settings without leaving Minecraft:
tooltip.showCapacityBar — choose whether the capacity display is the modern 1.21 bar (true, default) or the classic numeric fullness line (false).
tooltip.capacityLabelMode — controls what text appears inside the bar when it’s visible (defaults to VANILLA):
NONE: leave the bar blank, just like the 1.21 snapshots.
VANILLA: show the “Empty” / “Full” labels when appropriate.
CLASSIC: show the classic 24/64 fullness number centered inside the bar.
HYBRID: mixes both styles (Empty/Full labels at the extremes, numeric in between).
VANILLA_REVISED: Empty / Filling / Full labels inspired by the preview UI.
tooltip.slotTextureMode — pick between VANILLA (rounded, grey slots), EXPERIMENT (floating icon prototype), or CLASSIC (1.20.1 grid).
tooltip.showSelectionBar — toggles the 1.21-style selection banner that appears after you scroll in a tooltip.
Requirements
- Minecraft 1.20.1
- Forge 47.3.0 or newer in the 1.20.1 line
Installation
- Install the matching Forge build.
- Drop the released jar into your
mods/ directory.
- Launch the game; “Bundle In Tooltip” should appear on the Mods screen.
Credits
Created by dmor-me. Inspired by the official 1.21 bundle UX and designed to complement the dyed bundles from Bundle In Palette.
评论 0
登录后参与评分
还没有评论,来抢沙发吧