CrTI18n - friendlyhj/ZenUtils GitHub Wiki
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);