net.minecraft.locale

public abstract class Language

ly
net.minecraft.locale.Language
net.minecraft.class_2477
net.minecraft.util.Language
net.minecraft.util.text.LanguageMap
net.minecraft.server.v1_16_R2.LocaleLanguage

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_11490
LOGGER
field_201045_a
private static final com.google.gson.Gson
b
GSON
field_25307
GSON
field_240591_b_
private static final Pattern
c
UNSUPPORTED_FORMAT_PATTERN
field_11489
TOKEN_PATTERN
field_111053_a
private static volatile Language
d
instance
field_11486
instance
field_240592_d_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static Language
c()
loadDefault()
method_29429()
create()
func_240595_c_()
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)
func_240593_a_(InputStream arg0, BiConsumer<String, String> arg1)
public static Language
a()
getInstance()
method_10517()
getInstance()
func_74808_a()
public abstract String
a(String arg0)
getOrDefault(String arg0)
method_4679(String arg0)
get(String key)
func_230503_a_(String arg0)
public abstract boolean
b(String arg0)
has(String arg0)
method_4678(String arg0)
hasTranslation(String key)
func_230506_b_(String arg0)
public static void
a(ly arg0)
inject(Language arg0)
method_29427(class_2477 arg0)
setInstance(Language language)
func_240594_a_(LanguageMap arg0)
public abstract boolean
b()
isDefaultRightToLeft()
method_29428()
isRightToLeft()
func_230505_b_()
public abstract FormattedCharSequence
a(nu arg0)
getVisualOrder(FormattedText arg0)
method_30934(class_5348 arg0)
reorder(StringVisitable text)
func_241870_a(ITextProperties arg0)
public List<FormattedCharSequence>
a(List<nu> arg0)
getVisualOrder(List<FormattedText> arg0)
method_30933(List<class_5348> arg0)
reorder(List<StringVisitable> texts)
func_244260_a(List<ITextProperties> arg0)