Download Enchantment Level Language Patch — Minecraft Mods — MetaMods

Enchantment Level Language Patch

Active

Downloads

12

Last update

2 months ago

Versions

1.16 — 25w34b
Client
Fabric
Forge
Neoforge
Quilt
Libraries
Utils

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.

Sharpness enchantment.level.100

Without the mod: technical code is displayed

Sharpness 100

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 format
  • langpatch.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.

Project members
teddyxlandlee

teddyxlandlee

Developer

Created: 6 Dec 2022

ID: 1175