这个模组在做什么?
一款 Minecraft 模组,用于高亮显示与当前鼠标悬停物品相似的库存物品。
功能(仅限 1.0.0 或更高版本)
你可以使用不同的比较模式:
- ITEM_ONLY:此模式仅比较材料是否完全相同,例如判断是否为橡木门。这是在该功能添加之前模组一直使用的比较方式,也是默认模式。
- ITEM_AND_AMOUNT:与上述模式类似,但会进一步比较堆叠数量,例如只有所有包含 2 个橡木门的堆栈才会被高亮。
- ITEM_AND_NBT:其比较方式类似于 ITEM_ONLY 模式,此外还会比较 NBT 数据,例如命名牌是否使用了相同的名称,或者潜影盒是否包含完全相同的内容。
- ITEM_AND_NBT_AND_AMOUNT:这是上述所有模式的混合体。
对于 1.1.0+ 版本,新增了三种比较模式:
- NAME_ONLY:检查物品是否具有相同的名称。
- NAME_AND_AMOUNT:与上一模式类似,但也会检查堆叠数量是否相同。
- NAMESPACE:高亮显示共享相同命名空间的物品,这有助于高亮显示来自同一模组的所有物品。
自定义颜色:
你可以从 16,777,216 种颜色中选择以调整高亮效果,既可以通过命令设置,也可以通过菜单设置,在菜单中你可以使用滑块和预览功能来更方便地进行操作。所使用的格式为 RGBA。
透明度:
通过使用 RGBA 格式 的自定义颜色,你可以调整透明度,即你选择的 A(Alpha)值。
按键绑定:
你可以添加按键绑定以切换高亮显示、更改比较模式、设置悬停元素的颜色或打开颜色选择器菜单。
语言:
该模组提供英文、法文、德文、俄文、乌克兰文和简体中文支持。
配置菜单(v2.0.0+):
旧的颜色选择器现已变为真正的配置菜单,你可以直接在此处更改所有配置。要打开它,你可以使用命令 /highlightitem menu,或使用按键绑定,或者如果你使用了 ModMenu,可以直接从“模组”按钮进入。
通知(v2.0.0+):
当未打开任何库存界面时,你可以选择首选的模组通知发送模式:
- Default(默认):取决于具体情境。
- 如果你使用命令进行修改,通知将发送到聊天栏。
- 如果你按下按键绑定,通知将发送到 Minecraft 覆盖区域(生命值、等级和饥饿值上方)。
- Chat(聊天):通知将发送到聊天栏。
- Overlay(覆盖):通知将发送到 Minecraft 覆盖区域(生命值、等级和饥饿值上方)。
- Toast(提示框):通知将始终作为“Minecraft 提示框通知”发送。
高亮显示限制(v3.0.0+)
如果你愿意,可以限制屏幕某些区域的高亮显示范围,共有 5 种类型:
- Everywhere( everywhere):如同模组之前的工作方式一样,只要匹配悬停的物品,无论其位置如何,都会高亮显示所有槽位。
- Exclude Creative(排除创造模式,默认):即使与悬停物品匹配,创造模式界面中的任何槽位都不会被高亮。
- Player inventory(玩家背包):仅高亮显示位于玩家背包中且与悬停物品匹配的槽位。
- Player inventory and exclude Creative(玩家背包并排除创造模式):在创造模式界面中,仅高亮显示快捷栏中的槽位(如果它们与悬停物品匹配);在其他情况下,仅高亮显示玩家背包中与悬停物品匹配的槽位。
- Container only(仅容器):仅高亮显示位于容器(例如箱子或潜影盒)中且与悬停物品匹配的槽位。
悬停物品着色(v3.0.0+)
你可以选择使用 Minecraft 原版的高亮样式来对悬停槽位进行着色,甚至可以在槽位为空时也对其进行高亮,而不仅仅是选择是否着色。你有 5 种模式来对悬停槽位进行着色或不着色:
- Not colored(不着色):悬停槽位完全不会被高亮。
- Colored(着色):悬停槽位将以你在菜单中选择的颜色进行着色。
- Colored when not empty(非空时着色):如果悬停槽位中有物品,它将以其在菜单中选择的颜色进行着色。
- Vanilla highlighting(原版高亮):悬停物品将显示原版高亮效果,其他匹配的物品将以你在菜单中选择的颜色进行着色。
- Vanilla highlighting when not empty(非空时原版高亮):如果悬停槽位中有物品,它将显示原版高亮效果,其他匹配的物品将以你在菜单中选择的颜色进行着色。
NeoForge 支持(v3.0.0+)
该模组现在仅在 v3.0.0 以上较新版本中支持 NeoForge。
命令
如果你更喜欢使用命令而不是按键绑定和菜单,这里有三个可用的命令来管理该模组:
/highlightitem toggle -> 激活/停用模组
/highlightitem menu -> 打开配置菜单(仅限 v2.0.0+)
/highlightitem colorHover <true/false> -> 设置为 true 时,你光标所指物品的槽位也将被着色;设置为 false 时,它仍会被高亮,但使用的是原版高亮效果
/highlightitem color <COLOR> -> 从模组默认颜色列表中选择一个颜色,用于高亮物品
/highlightitem color CUSTOM <RGBA value> -> 使用 RGBA 格式选择自定义颜色
支持该项目
想同时支持我和其他创作者吗?请在访问 Modrinth 时禁用你的广告拦截器,这是免费的,而且该网站使用的是合乎道德且非侵入式的广告 ;)
What is the mod doing?
Minecraft mod that highlights inventory items similar to the one hovered over.
Features (only 1.0.0 or superior versions)
You can use differents comparaison modes :
- ITEM_ONLY : This mode will only compare if the materials are identicals for example if it's a oak door or not. It's how the mod has compared ItemStack until this feature was added and it's the default mode
- ITEM_AND_AMOUNT : Like the previous mode but it will compare if stacks has the same amount for example only all the 2 oak doors stacks will be highlighted
- ITEM_AND_NBT : It will compare like ITEM_ONLY mode plus compare the NBT for example does a name tag uses same names or shulker boxes contains the same exact contents
- ITEM_AND_NBT_AND_AMOUNT : It's a mix of all previous modes
For version 1.1.0+ three new comparaison modes exists :
- NAME_ONLY : It will check if items share the same name
- NAME_AND_AMOUNT : like previous one but check if stacks has the same amount too
- NAMESPACE : It will highlight the items who share the same namespace usefull to highlight all items that are from the same mod
Custom colors :
You can choose between 16.777.216 colors to tune the Highlighting either using the command or via the menu where you can use sliders and a preview to make it easier. The format used is the RGBA
Opacity :
With the custom colors using the RGBA format it means you can tweak the transparency which is the A(for alpha) value you choose.
Keybinds :
You can add keybinds to toggle the highlighting, changing mode comparaison, color the hovered element or open the color picker menu.
Language :
The mod is available in English, French, German, Russian, Ukrainian and Chinese Simplified.
Config menu (v2.0.0+):
The old color picker is now a true configuration menu where you can change all the configs directly. To open it you can use the command /highlightitem menu or the keybind or if you use ModMenu directly from the Mods button.
Notifications (v2.0.0+):
You can choose a preferred mod notification sending mode when you have no inventory opened :
- Default : It depends on the context.
- If you are using the command to make a change the notif will be sent in the chat.
- If you pressed a key bind it will be sent in the minecraft overlay zone (above life, levels and hunger).
- Chat : It will be sent in the chat
- Overlay : It will be sent in the minecraft overlay zone (above life, levels and hunger).
- Toast : It will always be sent in a "minecraft toast notification"
Highlighting limitations (v3.0.0+)
You can limit the Highlighting in some areas of the screens if you want there are 5 types :
- Everywhere : It's like the mod worked before, it highlights all the slots when they match the hovered one regardless their positions
- Exclude Creative (Default) : No slot in the Creative Screen will be highlighted even if they match the hovered one
- Player inventory : Only highlight the slots that are in the player inventory if they match the hovered one
- Player inventory and exclude Creative : In the Creative screen it only highlights the slots in the hotbar (if they match the hovered one) else it only highlights the slots that are in the player inventory (if they match the hovered one)
- Container only : Only highlight the slots that are in the containers (if they match the hovered one), like in chests or shulkerboxes for example
Hovered Item colored (v3.0.0+)
You can choose to color the hovered slot with the Minecraft vanilla highlighting or even highlight it even if it is empty rather than just choose to color or not. You have 5 modes to color or not the hovered slot :
- Not colored : the hovered slot will not be highlighted at all
- Colored : the hovered slot will be colored with the color you chose in the menu
- Colored when not empty : the hovered slot will be colored with the color you chose in the menu if there is an item in it
- Vanilla highlighting : the hovered item will be with the vanilla highlighting, the others items matching will be colored with the color you chose in the menu
- Vanilla highlighting when not empty: the hovered item will be with the vanilla highlighting if there is an item in it, the others items matching will be colored with the color you chose in the menu
NeoForge support (v3.0.0+)
The mod now supports NeoForge only on the most recents versions superior to v3.0.0
Commands
If you prefer commands than keybinds and the menu there are three commands available to manage the mod :
/highlightitem toggle -> activate/deactivate the mod
/highlightitem menu -> open the config menu (only for v2.0.0+)
/highlightitem colorHover <true/false>-> when set to true the slot of the item you are pointing with your cursor will be colored too when set to false it still will be highlight but with the vanilla highlighting
/highlightitem color <COLOR> -> choose the color in a list of default colors the mod will use to highlight the items
/highlightitem color CUSTOM <RGBA value> -> choose a custom color using the RGBA format
Support the project
Want to support me and other creators by the same time? Disable your ad blocker while you are on Modrinth it's free and the website use ethical and non-invasive ads ;)
评论 0
登录后参与评分
还没有评论,来抢沙发吧