Class ForgeI18n

java.lang.Object
net.minecraftforge.fml.ForgeI18n

public class ForgeI18n extends Object
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • ALLOWED_CHARS

      private static final String ALLOWED_CHARS
      See Also:
    • DISALLOWED_CHAR_MATCHER

      private static final com.google.common.base.CharMatcher DISALLOWED_CHAR_MATCHER
    • i18n

      private static Map<String,String> i18n
    • customFactories

      private static Map<String,org.apache.commons.lang3.text.FormatFactory> customFactories
    • PATTERN_CONTROL_CODE

      private static final Pattern PATTERN_CONTROL_CODE
  • Constructor Details

    • ForgeI18n

      public ForgeI18n()
  • Method Details

    • parseException

      private static void parseException(String formatString, StringBuffer stringBuffer, Object objectToParse)
    • parseModInfo

      private static void parseModInfo(String formatString, StringBuffer stringBuffer, Object modInfo)
    • getPattern

      public static String getPattern(String patternName)
    • loadLanguageData

      public static void loadLanguageData(Map<String,String> properties)
    • parseMessage

      public static String parseMessage(String i18nMessage, Object... args)
    • parseFormat

      public static String parseFormat(String format, Object... args)
    • stripSpecialChars

      public static String stripSpecialChars(String message)
    • stripControlCodes

      public static String stripControlCodes(String text)