Enchantment Level Language Patch
Problem and Solution
This mod fixes the inconvenient display of enchantment levels and potion effects in Minecraft. Instead of technical notations like enchantment.level.100, you will see understandable numerical values.

Without the mod: technical code is displayed

With the mod: clear numerical value is shown
For Developers
To add LangPatch API as a dependency to your project:
repositories {
// Our new maven repository
maven { url 'https://mvn.7c7.icu' }
}
dependencies {
compileOnly "xland.mcmod:enchlevel-langpatch:2.2.6"
}
Complete API documentation is available at: here.
Alternative Number Formats
Starting from version 2.x, the method for changing to Roman numeral format has been redesigned. Now, instead of installing an additional configuration mod, it's sufficient to modify several translation values.
Quick solution: install this resource pack along with this mod. The additional configuration mod is no longer required to switch to Roman format.
Available translation parameters:
langpatch.conf.enchantment.default.type- controls enchantment formatlangpatch.conf.potion.default.type- controls potion potency format
Supported values (example for number 123):
numeral/number/numeric/arabic/default- numeral format (123)roman- Roman numerals (CXXIII)simplified/chinese/zh_normal- simplified Chinese (一百二十三)traditional/zh_upper- traditional Chinese, uppercase (壹佰貳拾叄)
Configuration example for file assets/<any_namespace>/lang/en_us.json:
{
"langpatch.conf.enchantment.default.type": "roman",
"langpatch.conf.potion.default.type": "roman"
}
This setting will change the display format of enchantments and potion potency to Roman numerals.