Class LanguageManager
java.lang.Object
net.minecraft.client.resources.language.LanguageManager
- All Implemented Interfaces:
PreparableReloadListener
,ResourceManagerReloadListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private static final LanguageInfo
private Locale
private Map
<String, LanguageInfo> private static final org.slf4j.Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static Map
<String, LanguageInfo> extractLanguages
(Stream<PackResources> p_118982_) getLanguage
(String p_118977_) void
onResourceManagerReload
(ResourceManager p_118973_) void
setSelected
(String p_265224_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
getName
Methods inherited from interface net.minecraft.server.packs.resources.ResourceManagerReloadListener
reload
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
DEFAULT_LANGUAGE
-
languages
-
currentCode
-
javaLocale
-
-
Constructor Details
-
LanguageManager
-
-
Method Details
-
extractLanguages
-
onResourceManagerReload
- Specified by:
onResourceManagerReload
in interfaceResourceManagerReloadListener
-
getJavaLocale
-
setSelected
-
getSelected
-
getLanguages
-
getLanguage
-