Package net.minecraftforge.server
Class LanguageHook
java.lang.Object
net.minecraftforge.server.LanguageHook
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
captureLanguageMap
(Map<String, String> table) Loads lang files on the serverstatic void
private static void
loadLanguage
(String langName, MinecraftServer server) (package private) static void
loadLanguagesOnServer
(MinecraftServer server) private static void
loadLocaleData
(InputStream inputstream) private static void
loadLocaleData
(List<Resource> allResources)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
GSON
private static final com.google.gson.Gson GSON -
PATTERN
-
CAPTURED_TABLES
-
modTable
-
-
Constructor Details
-
LanguageHook
public LanguageHook()
-
-
Method Details
-
captureLanguageMap
Loads lang files on the server -
loadLocaleData
-
loadLocaleData
-
loadLanguage
-
loadForgeAndMCLangs
public static void loadForgeAndMCLangs() -
loadLanguagesOnServer
-