Class LanguageHook

java.lang.Object
net.minecraftforge.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
    • CAPTURED_TABLES

      private static final List<Map<String,String>> CAPTURED_TABLES
    • 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)