net.minecraft.client.resources.language

public class LanguageManager

implements ResourceManagerReloadListener

hcu
net.minecraft.client.resources.language.LanguageManager
net.minecraft.class_1076
net.minecraft.client.resource.language.LanguageManager

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_5325
LOGGER
private static final LanguageInfo
b
DEFAULT_LANGUAGE
field_25291
ENGLISH_US
private Map<String, LanguageInfo>
c
languages
field_5324
languageDefs
private String
d
currentCode
field_5323
currentLanguageCode
private final Consumer<ClientLanguage>
e
reloadCallback
field_51830
reloadCallback

Constructor summary

ModifierConstructor
public (String languageCode, Consumer<ClientLanguage> reloadCallback)

Method summary

Modifier and TypeMethod
private static Map<String, LanguageInfo>
a(Stream<aug> arg0)
extractLanguages(Stream<PackResources> arg0)
method_29393(Stream<class_3262> arg0)
loadAvailableLanguages(Stream<ResourcePack> packs)
public void
a(avv arg0)
onResourceManagerReload(ResourceManager arg0)
method_14491(class_3300 arg0)
reload(ResourceManager arg0)
public void
a(String arg0)
setSelected(String arg0)
method_4667(String arg0)
setLanguage(String languageCode)
public String
a()
getSelected()
method_4669()
getLanguage()
public SortedMap<String, LanguageInfo>
b()
getLanguages()
method_4665()
getAllLanguages()
public LanguageInfo
b(String arg0)
getLanguage(String arg0)
method_4668(String arg0)
getLanguage(String code)