public class LanguageHook
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
capturedTables |
private static com.google.gson.Gson |
GSON |
private static org.apache.logging.log4j.Logger |
LOGGER |
private static java.util.Map<java.lang.String,java.lang.String> |
modTable |
private static java.util.regex.Pattern |
PATTERN |
Constructor and Description |
---|
LanguageHook() |
Modifier and Type | Method and Description |
---|---|
static void |
captureLanguageMap(java.util.Map<java.lang.String,java.lang.String> table)
Loads lang files on the server
|
static void |
loadForgeAndMCLangs() |
private static void |
loadLanguage(java.lang.String langName,
MinecraftServer server) |
(package private) static void |
loadLanguagesOnServer(MinecraftServer server) |
private static void |
loadLocaleData(java.io.InputStream inputstream) |
private static void |
loadLocaleData(java.util.List<IResource> allResources) |
private static final org.apache.logging.log4j.Logger LOGGER
private static final com.google.gson.Gson GSON
private static final java.util.regex.Pattern PATTERN
private static java.util.List<java.util.Map<java.lang.String,java.lang.String>> capturedTables
private static java.util.Map<java.lang.String,java.lang.String> modTable
public static void captureLanguageMap(java.util.Map<java.lang.String,java.lang.String> table)
private static void loadLocaleData(java.util.List<IResource> allResources)
private static void loadLocaleData(java.io.InputStream inputstream)
private static void loadLanguage(java.lang.String langName, MinecraftServer server)
public static void loadForgeAndMCLangs()
static void loadLanguagesOnServer(MinecraftServer server)