Without the patch:
With the patch:
For Developers
To introduce LangPatch API as a dependency:
repositories {
maven { url 'https://covid-trump.github.io/mvn' }
}
dependencies {
compileOnly "xland.mcmod:enchlevel-langpatch:2.0.0"
}
In addition, online javadoc can be found here.
Built-in alternative number formats
Since version 2.x
, the way to change to roman format has changed from installing the config mod to modify several translation values.
A quick solution is to install this resource pack with this mod. The config mod is not mandatory to switch to roman format.
Here are the translation values:
langpatch.conf.enchantment.default.type
, which controls enchantment format (underdefault
patch).langpatch.conf.potion.default.type
, which controls potion potency format (underdefault
patch).
Acceptable values are (Examples of 123
):
numeral
/number
/numeric
/arabic
/default
: Numeral format (123
)roman
: Roman format (CXXIII
)simplified
/chinese
/zh_normal
: Simplified Chinese (一百二十三
)traditional
/zh_upper
: Traditional Chinese, uppercase (壹佰貳拾叄
)
Please note that default
and roman
in the legacy config mod are now identical, the latter one becoming deprecated.
Here's an example for assets/<any_namespace>/lang/en_us.json
:
{
"langpatch.conf.enchantment.default.type": "roman",
"langpatch.conf.potion.default.type": "roman"
}
This changes both enchantment and potion potency format into roman format.
External resources
Featured versions
See allProject members
teddyxlandlee
Owner
Technical information
License
WTFPL
Client side
required
Server side
unsupported
Project ID