HadEnoughItems (HEI)
HadEnoughItems 是一款专注于稳定性、性能和易用性的 Minecraft 物品与配方查看模组。
这意味着(当然与 JEI 相同):
- 仅包含材料和配方
- 为开发者提供干净的 API
- 非核心模组 —— 除 Forge 外无其他依赖项
HEI 的新特性:
- 内存优化
- 加载时间优化
- 渲染优化
- 自动合成
- 配方的书签与收藏功能
- 可从材料菜单拾取流体时更改默认流体容器
- 可通过点击材料菜单中的流体来填充流体容器
- 可自定义书签的排序方式
- 搜索时考虑变音符号
- 配方菜单中可移除“配方来源”提示框
- 配方标签页提供更多可用信息
- 在特定上下文中对配方进行更好的排序
- 改进材料数量的渲染以提高清晰度
- 书签组
- 可折叠的组
键位绑定
以下所有按键均可在 选项 => 控制 => Had Enough Items (HEI) 中重新绑定。它们仅在 GUI 打开时生效。
书签与组
将鼠标悬停在材料或配方上,然后按下以下任一按键。是书签材料还是配方取决于光标下的内容,而不是你按下的按键 —— 同一个按键执行两种操作。
| 按键 |
用途 |
A |
将悬停的材料或配方书签添加到当前书签组的末尾。 |
Shift + A |
将悬停的材料或配方书签添加到当前书签组的开头。 |
Ctrl + A |
将悬停的材料书签到一个全新的独立组中,位于末尾。 |
Ctrl + Shift + A |
将悬停的材料书签到一个全新的独立组中,位于开头。 |
对已经被书签的内容按下这些按键中的任意一个,会将其移除。将已在别处书签的材料再次书签,会将其移动到你指定的那一端,而不是添加第二个副本。配方始终拥有独立的组,因此 Ctrl 对它们没有区别。
首次书签某个内容时,书签覆盖层会自动打开;当移除最后一个书签时,它会关闭。
书签组
将鼠标悬停在组的行上的任意位置以执行以下操作:
| 按键 |
作用 |
Shift + Up |
将组向上移动一位。 |
Shift + Down |
将组向下移动一位。 |
Shift + C |
自动合成配方组。需要在配置中启用自动合成功能。 |
Ctrl + Left Click |
拖拽整个组而非单个书签,这是在不同组之间移动书签的方式。 |
Ctrl + Scroll |
循环切换配方链最终输出的数量。 |
A 在组的彩色标签上 |
删除整个组。 无确认提示,无撤销功能。限制在左侧狭窄的标签上,以便在瞄准书签时无法误触。 |
将鼠标悬停在组上时按住 Alt,可在提示框中列出其操作。
其他
Ctrl + O 显示和隐藏 HEI。显示/隐藏已书签的材料 仅切换书签覆盖层,默认未分配按键。
供开发者使用:
添加 CleanroomMC 的仓库并依赖 HEI 的 maven 条目:
repositories {
maven {
url 'https://maven.cleanroommc.com'
}
}
dependencies {
implementation 'mezz:jei:4.34.3'
}
HadEnoughItems (HEI)
HadEnoughItems is an Item and Recipe viewing mod for Minecraft with a focus on stability, performance, and ease of use.
This means (same as JEI of course):
- Just ingredients and recipes
- Clean API for developers
- Not a coremod – no dependencies other than Forge.
New features in HEI:
- Memory optimizations
- Load time optimizations
- Render optimizations
- Autocrafting
- Bookmark and Favoriting of Recipes
- Able to change default fluid containers for when you pick up fluids from the ingredient menu
- Able to fill fluid containers by clicking on fluids in the ingredient menu
- Able to order bookmarks differently
- Consider diacritics when searching
- Removable "Recipe By" tooltip in recipe menu
- More information available in recipe tabs
- Better ordering of recipes in certain contexts
- Better rendering of ingredient amounts to improve clarity
- Bookmark Groups
- Collapsible Groups
Keybinds
All keys below are rebindable under Options => Controls => Had Enough Items (HEI). They only apply while a GUI is open.
Bookmarks and Groups
Point at an ingredient or a recipe and press one of these. Whether you bookmark an ingredient or a recipe is decided by what is under the cursor, not by which key you press — the same key does both.
| Key |
Purpose |
A |
Bookmarks the hovered ingredient or recipe to the end of the current bookmark group. |
Shift + A |
Bookmarks the hovered ingredient or recipe to the start of the current bookmark group. |
Ctrl + A |
Bookmarks the hovered ingredient into a new group of its own, at the end. |
Ctrl + Shift + A |
Bookmarks the hovered ingredient into a new group of its own, at the start. |
Pressing any of these keys on something that is already bookmarked, removes it. Bookmarking an ingredient you already have bookmarked elsewhere moves it to whichever end you asked for rather than adding a second copy. Recipes always get a group of their own, so Ctrl makes no difference to them.
The bookmark overlay opens by itself the first time you bookmark something, and closes when you remove the last one.
Bookmark Groups
Point anywhere along a group's rows for these:
| Key |
What it does |
Shift + Up |
Moves the group up one place. |
Shift + Down |
Moves the group down one place. |
Shift + C |
Autocrafts a recipe group. Requires autocrafting to be enabled in the config. |
Ctrl + Left Click |
Drags the whole group rather than a single bookmark, which is how you move bookmarks between groups. |
Ctrl + Scroll |
Cycles the amount of the final output of a recipe chain. |
A on the group's coloured tab |
Deletes the whole group. No confirmation, no undo. Restricted to the narrow tab on the left so it can't be hit while aiming at a bookmark. |
Hold Alt while hovering a group to list its actions in the tooltip.
Other
Ctrl + O shows and hides HEI. Show/Hide Bookmarked Ingredients toggles just the bookmark overlay and has no key assigned by default.
For Devs:
Add CleanroomMC's repository and depend on HEI's maven entry:
repositories {
maven {
url 'https://maven.cleanroommc.com'
}
}
dependencies {
implementation 'mezz:jei:4.34.3'
}
评论 0
登录后参与评分
还没有评论,来抢沙发吧