-
Notifications
You must be signed in to change notification settings - Fork 10
CrTI18n
youyihj edited this page Dec 30, 2020
·
5 revisions
CrTI18n
exposes net.minecraft.util.text.translation
Java Class to ZenScript.
It might be required to import the class to avoid errors.
import mods.zenutils.I18n;
import mods.zenutils.I18n;
// check if have specific key.
I18n.hasKey(String key);
// Translates the given string and then formats it. Equivilant to String.format(translate(key), parameters).
I18n.format(String format, Object... args);
// Equivilant to game.localize
I18n.format(String key);
- GlobalFunctions
- ScriptReloading
- SuppressErrorPreprocessor
- HardFailPreprocessor
- OrderlyMap
- IData Deep Update
- Template String
- Native Method Access
- Mixin
- CrTI18n
- CrTUUID
- CrTItemHandler
- CrTLiquidHandler
- ILiquidTankProperties
- StringList
- HexHelper
- StaticString
- Catenation
- PersistedCatenation
- PlayerStat
- IStatFormatter
- GameRuleHelper
- ZenCommand
- ZenCommandTree
- ZenUtilsCommandSender
- IGetCommandUsage
- ICommandExecute
- IGetTabCompletion
- CommandUtils