适用于 Forge 1.14.x 用户: 需要 MixinBootstrap (或任何其他 Mixin 加载器)。
适用于 Forge 1.13.x 用户: 需要 ModernMixins (或任何其他 Mixin 加载器)。
? 遥测更新
遥测功能现在默认关闭(级别 -1)。后端已离线并将永久关闭;当前版本不再收集或发送任何数据。
经过数月的数据收集,我们现在了解了玩家偏好,因此该服务已退役。现有报告仍可在此处查看;所有原始数据和副本均已删除。
config/enchlevel-langpatch-telemetry.txt不再需要。请参阅我们的隐私政策。感谢您的支持!
未打补丁时:

打补丁后:

常见替代格式
- 想要纯阿拉伯数字(例如 Sharpness 5)?下载 Stub Mod
- 想要罗马数字(例如 Sharpness XXV)?下载 Stub Mod
这些 Stub Mod 应与 LangPatch 本身一同加载。
I18n API
本模组支持通过语言文件对附魔等级和药水效果等级的格式进行有限的配置。
模板键
enchantment.level.x&potion.potency.x: 分别修改附魔等级和药水效果等级的模板。- 默认值:
"%s"
- 默认值:
格式类型
-
langpatch.conf.enchantment.default.type&langpatch.conf.potion.default.type: 分别修改附魔等级和药水效果等级的格式。值 格式 示例 simplified,chinese,zh_normal中文小写数字 一百二十三 traditional,zh_upper中文大写数字(繁体) 壹佰貳拾叄 numeral,number,numeric,arabic,default阿拉伯数字(默认) 123 roman罗马数字 CXXIII skip,ignore不更改(例如仅替换其他文本) —
覆盖
langpatch.conf.enchantment.override&langpatch.conf.potion.override: 是否覆盖现有翻译。接受的值应为"true"或"false"。- 如果设置为
"true",现有翻译将被替换。参见上方“纯阿拉伯数字”包的实现。
- 如果设置为
对于开发者
LangPatch 如其名所示,允许开发人员在不直接修改语言文件的情况下对游戏内翻译进行动态更改。
要将 LangPatch API 作为依赖项引入:
repositories {
// Our new maven (2nd change)
maven { url 'https://maven.hixland.com' }
}
dependencies {
compileOnly "xland.mcmod:enchlevel-langpatch:3.9.1"
}
在线 Javadoc 可在此处找到。
For Forge 1.14.x users: MixinBootstrap (or any alternative Mixin loader) is required.
For Forge 1.13.x users: ModernMixins (or any alternative Mixin loader) is required.
📢 Telemetry Update
Telemetry is now off by default (Level -1). The backend is offline and will be permanently shut down; current versions collect and send no data.
After months of collection, we now understand player preferences, so the service is retired. Existing reports remain available here; all raw data and copies have been deleted.
config/enchlevel-langpatch-telemetry.txtis no longer needed. See our Privacy Policy. Thanks for your support!
Without the patch:

With the patch:

Common alternative formats
- Want pure arabic numerals (e.g. Sharpness 5)? Download Stub Mod
- Want roman numerals (e.g. Sharpness XXV)? Download Stub Mod
These stub mods should be loaded with LangPatch itself.
I18n API
This mod supports a limited configuration of enchantment level and potion effect level formatting through language files.
Template Keys
enchantment.level.x&potion.potency.x: Modify the templates for enchantment levels and potion effect levels, respectively.- Default value:
"%s"
- Default value:
Format Types
-
langpatch.conf.enchantment.default.type&langpatch.conf.potion.default.type: Modify the format of enchantment levels and potion effect levels, respectively.Value Format Example simplified,chinese,zh_normalLowercase Chinese numerals 一百二十三 traditional,zh_upperUppercase Chinese numerals (traditional) 壹佰貳拾叄 numeral,number,numeric,arabic,defaultArabic numerals (default) 123 romanRoman numerals CXXIII skip,ignoreNo change (e.g., for only replacing other text) —
Override
langpatch.conf.enchantment.override&langpatch.conf.potion.override: Whether to override existing translations. Acceptable values are"true"or"false".- If set to
"true", existing translations will be replaced. See the implementation of the "pure arabic numeral" pack above.
- If set to
For Developers
LangPatch, as is named, allows developers to make dynamic changes to in-game translations without directly modifying lang files.
To introduce LangPatch API as a dependency:
repositories {
// Our new maven (2nd change)
maven { url 'https://maven.hixland.com' }
}
dependencies {
compileOnly "xland.mcmod:enchlevel-langpatch:3.9.1"
}
Online javadoc can be found here.
下载 Enchantment Level Language Patch
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Enchantment Level Language Patch
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Enchantment Level Language Patch
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
3.13.0:优化中文缓存地图;引入 EnchantmentLevelLangPatch.intToChinese 实验性映射
3.12.0:绕过 26.4-snapshot-9 中 ClientLanguage.NON_REPLACEABLE_PREFIXES
3.11.0:添加调试按键,用于部分/完全禁用缓存
3.10.3:让 Modrinth API 验证器满意
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧