net.minecraft.network.chat.contents

public class TranslatableContents

implements ComponentContents

ut
net.minecraft.network.chat.contents.TranslatableContents
net.minecraft.class_2588
net.minecraft.unmapped.C_fdvjwnmn
net.minecraft.text.TranslatableTextContent
net.minecraft.text.component.TranslatableComponent
net.minecraft.src.C_213523_
net.minecraft.network.chat.contents.TranslatableContents

Field summary

Modifier and TypeField
public static final Object[]
b
NO_ARGS
field_24367
f_ozobodue
EMPTY_ARGUMENTS
EMPTY_ARGS
f_237494_
private static final FormattedText
c
TEXT_PERCENT
field_24368
f_rjlzload
LITERAL_PERCENT_SIGN
PERCENT
f_237495_
private static final FormattedText
d
TEXT_NULL
field_24369
f_rpjzsbrs
NULL_ARGUMENT
NULL
f_237496_
private final String
e
key
field_11876
f_uvddklyh
key
key
f_237497_
private final String
f
fallback
field_41875
f_awlkgjza
fallback
fallback
f_263792_
private final Object[]
g
args
field_11875
f_aovoazph
args
args
f_237498_
private Language
h
decomposedWith
field_25317
f_wgdxckhz
languageCache
language
f_237499_
private List<FormattedText>
i
decomposedParts
field_11877
f_vwbvusrh
translations
visitors
f_237500_
private static final Pattern
j
FORMAT_PATTERN
field_11872
f_brxauvga
ARG_FORMAT
FORMAT_PATTERN
f_237501_

Constructor summary

ModifierConstructor
public (String key, String fallback, Object[] args)

Method summary

Modifier and TypeMethod
private void
d()
decompose()
method_11025()
m_dlvgcoah()
updateTranslations()
translate()
m_237524_()
private void
a(String arg0, Consumer<tn> arg1)
decomposeTemplate(String arg0, Consumer<FormattedText> arg1)
method_11024(String arg0, Consumer<class_5348> arg1)
m_thyrutws(String arg0, Consumer<C_xzalvetc> arg1)
forEachPart(String translation, Consumer<StringVisitable> partsConsumer)
translate(String string, Consumer<StringVisitable> adder)
m_237515_(String p_237517_, Consumer<C_5000_> arg1)
private FormattedText
a(int arg0)
getArgument(int arg0)
method_29434(int arg0)
m_eefpgkga(int arg0)
getArg(int index)
getArgument(int index)
m_237509_(int arg0)
public <T> Optional<T>
a(tn$b<T> arg0, uf arg1)
visit(FormattedText$StyledContentConsumer<T> arg0, Style arg1)
method_27660(class_5348$class_5246<T> arg0, class_2583 arg1)
m_pikjboje(C_xzalvetc$C_rnsgpsnw<T> arg0, C_cpwnhism arg1)
visit(StringVisitable$StyledVisitor<T> arg0, Style arg1)
visit(StringVisitable$StyledVisitor<T> arg0, Style arg1)
m_213724_(C_5000_$C_5006_<T> p_237522_, C_5020_ arg1)
public <T> Optional<T>
a(tn$a<T> arg0)
visit(FormattedText$ContentConsumer<T> arg0)
method_27659(class_5348$class_5245<T> arg0)
m_byogystu(C_xzalvetc$C_delqnnjz<T> arg0)
visit(StringVisitable$Visitor<T> arg0)
visit(StringVisitable$Visitor<T> arg0)
m_213874_(C_5000_$C_5005_<T> arg0)
public MutableComponent
a(dr arg0, bfh arg1, int arg2)
resolve(CommandSourceStack arg0, Entity arg1, int arg2)
method_10890(class_2168 arg0, class_1297 arg1, int arg2)
m_jylyfbgl(C_pennblrk arg0, C_astfners arg1, int arg2)
parse(ServerCommandSource arg0, Entity arg1, int arg2)
resolve(ServerCommandSource arg0, Entity arg1, int arg2)
m_213698_(C_2969_ p_237513_, C_507_ p_237514_, int arg2)
public String
a()
getKey()
method_11022()
m_wxxesxfp()
getKey()
getKey()
m_237508_()
public String
b()
getFallback()
method_48323()
m_jqsynoae()
getFallback()
getFallback()
m_264577_()
public Object[]
c()
getArgs()
method_11023()
m_oudaoofq()
getArgs()
getArgs()
m_237523_()