net.minecraft.locale

public abstract class Language

mv
net.minecraft.locale.Language
net.minecraft.class_2477
net.minecraft.util.Language
net.minecraft.src.C_4907_
net.minecraft.locale.LocaleLanguage

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static Language
c()
loadDefault()
method_29429()
create()
m_128118_()
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)
load(InputStream inputStream, BiConsumer<String, String> entryConsumer)
m_128108_(InputStream p_128109_, BiConsumer<String, String> p_128110_)
public static Language
a()
getInstance()
method_10517()
getInstance()
m_128107_()
public static void
a(mv arg0)
inject(Language arg0)
method_29427(class_2477 arg0)
setInstance(Language language)
m_128114_(C_4907_ p_128115_)
public abstract String
a(String arg0)
getOrDefault(String arg0)
method_4679(String arg0)
get(String key)
m_6834_(String arg0)
public abstract boolean
b(String arg0)
has(String arg0)
method_4678(String arg0)
hasTranslation(String key)
m_6722_(String arg0)
public abstract boolean
b()
isDefaultRightToLeft()
method_29428()
isRightToLeft()
m_6627_()
public abstract FormattedCharSequence
a(ov arg0)
getVisualOrder(FormattedText arg0)
method_30934(class_5348 arg0)
reorder(StringVisitable text)
m_5536_(C_5000_ arg0)
public List<FormattedCharSequence>
a(List<ov> arg0)
getVisualOrder(List<FormattedText> arg0)
method_30933(List<class_5348> arg0)
reorder(List<StringVisitable> texts)
m_128112_(List<C_5000_> arg0)