本模组并非整合了 InventoryHUD+ 功能的修订版;相反,它作为 InventoryHUD+ 的扩展模块,无法独立运行。
InventoryHUD+ 的 Curseforge 页面为:
本模组已发布在 MCMOD 平台,ID 为 14637,你可以在 MCMOD 页面上查看中文描述。
概览
(在 Minecraft 1.12.2 中)Inventory HUD+ 模组的 PotionHUD 功能硬编码支持部分模组,导致来自其他模组(如 SRP 和 SimpleDifficulty)的药水图标显示不准确或缺失。
本模组允许玩家在配置文件(config/invhud_configurable/iconMod.cfg)中指定 Inventory HUD+ 应从何处获取各个模组的药水图标。
用法
目前,本模组支持为某个模组定义全局路径查找规则,或为单个药水分配特定路径。
在 .cfg 文件中,每行结构应为查找规则或特定路径,各元素之间用逗号分隔。
-
定义查找规则:
-
<modid>, <lookup rule>
-
例如:srparasites, textures/gui/potion_%s.png
-
此处 %s 用作占位符,代表药水的名称(即其注册名中的冒号后部分)。因此 assets/srparasites/textures/gui/potion_viral.png 将作为 “srparasites:viral” 效果的形象来源。
-
分配特定路径:
-
<modid>, <potion name>, <path>
-
例如:simpledifficulty, cold_resist, textures/potions/resist_cold.png
-
(特定路径会覆盖全局规则。)此分配指示 InventoryHUD+ 使用 assets/simpledifficulty/textures/potions/resist_cold.png 作为 “simpledifficulty:cold_resist” 效果的形象来源。
注意:
-
如果某模组没有全局查找规则,但其某个药水定义了特定路径,则该模组其余药水默认将显示为紫黑色的占位符。
-
目前,此自定义功能仅适用于那些将药水图标管理为独立小图的模组,不适用于拼接在单一大图中的情况。
-
自动生成的 .cfg 文件已预置对 SRP 和 SimpleDifficulty 的支持配置。
This mod is NOT a revised version incorporating InventoryHUD+ features; instead, it serves as an expansion module for InventoryHUD+ and cannot operate independently.
The Curseforge page of InventoryHUD+ is :
This mod has been posted on the MCMOD platform with the ID 14637, you can view the Chinese description on the MCMOD page.
Overview
(In Minecraft 1.12.2)The Inventory HUD+ mod's PotionHUD is hardcoded to work with select mods, leading to inaccurate or absent potion icons from others, such as SRP and SimpleDifficulty.
This mod empowers players to dictate in the .cfg file (config/invhud_configurable/iconMod.cfg) the exact locations where Inventory HUD+ should retrieve potion icons for various mods.
Usage
Presently, this mod supports defining path global path lookup rules for a mod or assigning specific paths for individual potion.
In the .cfg file, structure each line as either a lookup rule or a specific path, separating elements with commas.
-
Defining Lookup Rules:
-
<modid>, <lookup rule>
-
e.g.: srparasites, textures/gui/potion_%s.png
-
Here, %s acts as a placeholder for the potion's name (post-colon in its registry name). So assets/srparasites/textures/gui/potion_viral.png serves as the image source for the "srparasites:viral" effect.
-
Specific Paths Assignment:
-
<modid>, <potion name>, <path>
-
e.g.: simpledifficulty, cold_resist, textures/potions/resist_cold.png
-
(Particular paths override global rules.) This assignment InventoryHUD+ to use assets/simpledifficulty/textures/potions/resist_cold.png for the "simpledifficulty:cold_resist" effect.
Note:
-
In the absence of a global lookup rule for a mod but with a defined path for one of its potions, remaining potions from that mod will default to displaying as purple-black placeholder.
-
Currently, this customization only applies to mods that manage potion icons as discrete smaller images, not concatenated within a single larger image.
-
The auto-generated .cfg file is pre-equipped with support configurations for SRP and SimpleDifficulty.
评论 0
登录后参与评分
还没有评论,来抢沙发吧