net.minecraft.locale

public abstract class Language

us
net.minecraft.locale.Language
net.minecraft.class_2477
net.minecraft.unmapped.C_gedhbjjb
net.minecraft.util.Language
net.minecraft.util.Language
net.minecraft.src.C_4907_
net.minecraft.locale.LocaleLanguage

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_11490
f_yvcpbzbu
LOGGER
LOGGER
f_128101_
private static final com.google.gson.Gson
c
GSON
field_25307
f_vizpbbyq
GSON
GSON
f_128102_
private static final Pattern
d
UNSUPPORTED_FORMAT_PATTERN
field_11489
f_xtytbxfe
TOKEN_PATTERN
TOKEN_PATTERN
f_128103_
public static final String
a
DEFAULT
field_33187
f_vzrujyiy
DEFAULT_LANGUAGE
DEFAULT_LANGUAGE
f_177832_
private static volatile Language
e
instance
field_11486
f_nsdscvdv
instance
instance
f_128104_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static Language
c()
loadDefault()
method_29429()
m_yzsfdtsw()
create()
create()
m_128118_()
private static void
a(BiConsumer<String, String> arg0, String arg1)
parseTranslations(BiConsumer<String, String> arg0, String arg1)
method_51465(BiConsumer<String, String> arg0, String arg1)
m_hkumrnsb(BiConsumer<String, String> arg0, String arg1)
load(BiConsumer<String, String> entryConsumer, String path)
load(BiConsumer<String, String> entryConsumer, String resourcePath)
m_280428_(BiConsumer<String, String> p_282031_, String p_283638_)
public static void
a(InputStream arg0, BiConsumer<String, String> arg1)
loadFromJson(InputStream arg0, BiConsumer<String, String> arg1)
method_29425(InputStream arg0, BiConsumer<String, String> arg1)
m_dogdqiuh(InputStream arg0, BiConsumer<String, String> arg1)
load(InputStream inputStream, BiConsumer<String, String> entryConsumer)
load(InputStream inputStream, BiConsumer<String, String> entryConsumer)
m_128108_(InputStream p_128109_, BiConsumer<String, String> p_128110_)
public static Language
a()
getInstance()
method_10517()
m_oiigephk()
getInstance()
getInstance()
m_128107_()
public static void
a(us arg0)
inject(Language arg0)
method_29427(class_2477 arg0)
m_mdcpncwh(C_gedhbjjb arg0)
setInstance(Language language)
setInstance(Language language)
m_128114_(C_4907_ p_128115_)
public String
a(String arg0)
getOrDefault(String arg0)
method_48307(String arg0)
m_rnmxhvcv(String arg0)
get(String key)
get(String key)
m_6834_(String arg0)
public abstract String
a(String arg0, String arg1)
getOrDefault(String arg0, String arg1)
method_4679(String arg0, String arg1)
m_lwefjoag(String arg0, String arg1)
get(String key, String fallback)
get(String key, String defaultText)
m_118919_(String p_265599_, String arg1)
public abstract boolean
b(String arg0)
has(String arg0)
method_4678(String arg0)
m_zjkrxcsx(String arg0)
hasTranslation(String key)
hasTranslation(String key)
m_6722_(String arg0)
public abstract boolean
b()
isDefaultRightToLeft()
method_29428()
m_obbyvsnv()
isRightToLeft()
isRightToLeft()
m_6627_()
public abstract FormattedCharSequence
a(ya arg0)
getVisualOrder(FormattedText arg0)
method_30934(class_5348 arg0)
m_esstoejy(C_xzalvetc arg0)
reorder(StringVisitable text)
reorder(StringVisitable text)
m_5536_(C_5000_ arg0)
public List<FormattedCharSequence>
a(List<ya> arg0)
getVisualOrder(List<FormattedText> arg0)
method_30933(List<class_5348> arg0)
m_xhhwujyl(List<C_xzalvetc> arg0)
reorder(List<StringVisitable> texts)
reorder(List<StringVisitable> texts)
m_128112_(List<C_5000_> arg0)