EnchantEnhanced
源自 blob's Enchant Icons 的分支,
遵循 GPL-2.0-only 许可证。
附带动画图标和彩色名称的附魔,带有罗马数字和阿拉伯数字等级标签。
| 等级 |
显示方式 |
| 1 |
(无后缀 — 原版) |
| 2–25 |
罗马数字 II–XXV |
| 26–255 |
阿拉伯数字 26–255 |
附魔名称使用品质颜色:红色表示诅咒,灰色表示劣质,白色表示普通,黄色表示优秀,青色表示史诗,粉色表示传说,绿色表示特殊。等级后缀的颜色独立于等级本身进行着色。
| 等级 |
后缀颜色 |
| 2 |
灰色 |
| 3 |
白色 |
| 4 |
绿色 |
| 5 |
青色 |
| 6–10 |
浅紫色 |
| 11–25 |
金色 |
| 26–100 |
黄色 |
| 101–255 |
红色 |
与上游版本的区别
- 自定义
Unbreaking 图标和新
Lunge 图标。
- 附魔名称的品质颜色以及独立的等级后缀颜色标尺。
- 等级 2–25 使用罗马数字,等级 26–255 使用阿拉伯数字。
- 更新了针对 Minecraft 26.2+ 的兼容性。
图标与许可
图标基于 blob's Enchant Icons
(遵循 GPL-2.0-only 许可证;参见 LICENSE)。Unbreaking 和 Lunge 图标采用自定义设计。图标作为位图字体打包在 assets/minecraft/font/default.json 中,并通过名称翻译中的私有用途字符(private-use glyphs)进行引用。
工作原理
原版通过语言键 enchantment.level.<n> 渲染附魔等级。
本资源包在 assets/minecraft/lang/en_us.json 中定义了英文附魔名称和等级键:
enchantment.level.2 … enchantment.level.25 → 罗马数字
enchantment.level.26 … enchantment.level.255 → 阿拉伯数字
每个值都以原版的 § 格式化代码开头。文本组件 中的 color 字段适用于组件对象,而非语言文件中的翻译字符串;因此这些翻译使用格式化代码而不是组件字段或 <color> 标签。
英文附魔名称包含图标和品质颜色。其他选定的语言可以覆盖这些英文后备条目,省略两者。当选定语言没有对应的等级翻译时,等级后缀将使用英文后备条目。本资源包未定义高于 255 级的内容。
兼容性
- Minecraft 26.2+(资源包格式
88,声明范围 88–200;26.3 使用 97.1,在范围内)。
- 无依赖项;适用于任何模组加载器或原版环境。
- 覆盖附魔名称翻译的其他资源包会产生冲突;优先级较高的资源包生效。
- 模组添加的附魔不受影响。
安装
将构建好的 ZIP 复制到实例的 resourcepacks/ 文件夹中,并在 选项 → 资源包… 中启用它,或者将其解压到 resourcepacks/EnchantEnhanced/。
构建
预发布制品:运行构建脚本以生成与发布布局匹配的分布式 zip 文件(无前导 ./ 条目,成员路径精确):
powershell -ExecutionPolicy Bypass -File build.ps1
输出:EnchantEnhanced.zip(使用 tar/bsdtar 构建,Windows 10+ 自带捆绑)。如果存在 Y:\Games\NRC Instances\profiles\Leben_s NVIDIA Pack\resourcepacks,
构建过程还会将 ZIP 复制至此目录,替换之前的副本。否则它将发出警告并保留本地构建以便手动安装。
文件结构
pack.mcmeta 资源包元数据及描述
pack.png 资源包图标
assets/minecraft/lang/en_us.json 名称、等级和强度的翻译
assets/minecraft/font/default.json 位图图标字体提供者
assets/minecraft/textures/misc/ 图标纹理
build.ps1 zip 构建脚本
LICENSE GPL-2.0-only
EnchantEnhanced
Fork of blob's Enchant Icons,
licensed under GPL-2.0-only.
Enchantment icons and colored names, with Roman and Arabic level labels.
| Level |
Display |
| 1 |
(no suffix — vanilla) |
| 2–25 |
Roman numerals II–XXV |
| 26–255 |
Arabic numerals 26–255 |
Enchantment names use grade colors: red for curses, gray for bad, white for basic, yellow for good, aqua for epic, pink for mythic, and green for special. The level suffix is colored independently by level.
| Level |
Suffix color |
| 2 |
Gray |
| 3 |
White |
| 4 |
Green |
| 5 |
Aqua |
| 6–10 |
Light purple |
| 11–25 |
Gold |
| 26–100 |
Yellow |
| 101–255 |
Red |
Differences from upstream
- Custom
Unbreaking icon and new
Lunge icon.
- Grade colors for enchantment names and a separate color scale for level suffixes.
- Roman numerals for levels 2–25 and Arabic numerals for levels 26–255.
- Updated compatibility for Minecraft 26.2+.
Icons and licensing
Icons are based on blob's Enchant Icons
(licensed GPL-2.0-only; see LICENSE). The Unbreaking and Lunge icons use
custom designs. Icons are packed as a bitmap font per assets/minecraft/font/default.json
and referenced by private-use glyphs in the name translations.
How it works
Vanilla renders enchantment levels through the language keys enchantment.level.<n>.
This pack defines English enchantment names and level keys in
assets/minecraft/lang/en_us.json:
enchantment.level.2 … enchantment.level.25 → roman numerals
enchantment.level.26 … enchantment.level.255 → arabic numerals
Each value starts with a vanilla § formatting code. The color field in
text components applies to
component objects, not language-file translation strings; these translations
therefore use formatting codes rather than component fields or <color> tags.
English enchantment names include icons and grade colors. Other selected
languages can override these English fallback entries, omitting both.
Level suffixes use the English fallback when the selected language has no
corresponding level translation. Levels above 255 are not defined by this pack.
Compatibility
- Minecraft 26.2+ (pack format
88, declared range 88–200; 26.3 uses 97.1, in range).
- No dependencies; works with any mod loader or vanilla.
- Other packs overriding enchantment name translations conflict; the
higher-priority pack wins.
- Modded enchantments are unchanged.
Install
Copy the built ZIP into the instance's resourcepacks/ folder and enable it in
Options → Resource Packs…, or extract into resourcepacks/EnchantEnhanced/.
Build
Prerelease artifact: run the build script to produce a distributable zip that
matches the release layout (no leading ./ entries, exact member paths):
powershell -ExecutionPolicy Bypass -File build.ps1
Output: EnchantEnhanced.zip (built with tar/bsdtar, bundled with Windows 10+).
If Y:\Games\NRC Instances\profiles\Leben_s NVIDIA Pack\resourcepacks exists,
the build also copies the ZIP there, replacing the previous copy. Otherwise it
warns and leaves the local build available for manual installation.
Files
pack.mcmeta pack metadata & description
pack.png resource pack icon
assets/minecraft/lang/en_us.json name, level, and potency translations
assets/minecraft/font/default.json bitmap icon font providers
assets/minecraft/textures/misc/ icon textures
build.ps1 zip builder
LICENSE GPL-2.0-only
评论 0
登录后参与评分
还没有评论,来抢沙发吧