Class LanguageHook

java.lang.Object
net.minecraftforge.fmllegacy.server.LanguageHook

public class LanguageHook extends Object
  • Field Details

    • LOGGER

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

      private static final com.google.gson.Gson GSON
    • PATTERN

      private static final Pattern PATTERN
    • capturedTables

      private static List<Map<String,​String>> capturedTables
    • modTable

      private static Map<String,​String> modTable
  • Constructor Details

    • LanguageHook

      public LanguageHook()
  • Method Details

    • captureLanguageMap

      public static void captureLanguageMap(Map<String,​String> table)
      Loads lang files on the server
    • loadLocaleData

      private static void loadLocaleData(List<Resource> allResources)
    • loadLocaleData

      private static void loadLocaleData(InputStream inputstream)
    • loadLanguage

      private static void loadLanguage(String langName, MinecraftServer server)
    • loadForgeAndMCLangs

      public static void loadForgeAndMCLangs()
    • loadLanguagesOnServer

      static void loadLanguagesOnServer(MinecraftServer server)