
Enchantment Level Language Patch
Sharpness enchantment.level.20 => Sharpness 20/XX
- Загрузки
- 669K
- Подписчики
- 137
- Обновлён
- 7 июля 2026 г.
- Лицензия
- WTFPL
Опубликован 6 декабря 2022 г.
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 Settings: You can adjust the telemetry level by creating/editing config/enchlevel-langpatch-telemetry.txt.
See our Privacy Policy for more information.
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.1.0")
}
Online javadoc can be found here.
Центр версий
13 из 47Ченджлог
3.8.14Бета26.3-snapshot-1, 26.3-snapshot-2, 26.3-snapshot-3 · 7 июля 2026 г.
3.8.14: Separate a new thread for telemetry, to avoid ghost Thread.contextClassLoader of threads in shared pool
3.8.13Релиз26.2-rc-1, 26.2-rc-2, 26.2 · 18 июня 2026 г.
3.8.13: Fix NeoForge-side telemetry being invalid with new generation FancyModLoader
3.8.12Релиз26.2-rc-1, 26.2-rc-2, 26.2 · 18 июня 2026 г.
3.8.12: Introduce a more elegant approach to invoke Fabric sub-entrypoints.
3.8.11Бета26.2-snapshot-8, 26.2-pre-1, 26.2-pre-2 · 2 июня 2026 г.
3.8.11: Update telemetry endpoint
3.8.10Релиз26.2-snapshot-7, 26.2-snapshot-8, 26.2-pre-1 · 27 мая 2026 г.
3.8.10: Allow 307/308 redirection for telemetry
3.8.6Релиз26.2-snapshot-4, 26.2-snapshot-5, 26.2-snapshot-6 · 7 мая 2026 г.
3.8.6: Allow telemetry redirect (via X-Entrypoint-Redirect header, whitelisted)
3.8.5Релиз26.2-snapshot-2, 26.2-snapshot-3, 26.2-snapshot-4 · 22 апреля 2026 г.
3.8.5: Specify ornithe and legacy-fabric loaders in telemetry
3.8.4Бета26.1.2-rc-1, 26.1.2, 26.2-snapshot-2 · 12 апреля 2026 г.
3.8.4: Experimental support for ornithe loader
Комментарии
Загружаем…