Package net.neoforged.neoforge.server
Class LanguageHook
java.lang.Object
net.neoforged.neoforge.server.LanguageHook
Loads the built-in language files, and handles loading the default language ("en_us") on the
dedicated server.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
captureLanguageMap
(Map<String, String> table) static void
private static void
loadLanguage
(String langName, MinecraftServer server) (package private) static void
loadModLanguages
(MinecraftServer server)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
defaultLanguageTable
-
modTable
-
-
Constructor Details
-
LanguageHook
public LanguageHook()
-
-
Method Details
-
captureLanguageMap
-
loadLanguage
-
loadBuiltinLanguages
public static void loadBuiltinLanguages() -
loadModLanguages
-