net.minecraft.network.chat

public class TranslatableComponent

extends BaseComponent implements ContextAwareComponent

All mapped superinterfaces:

MutableComponent, Component, FormattedText, ContextAwareComponent

qn
net.minecraft.network.chat.TranslatableComponent
net.minecraft.class_2588
net.minecraft.unmapped.C_mwvhsixd
net.minecraft.text.TranslatableText
net.minecraft.src.C_5026_
net.minecraft.network.chat.ChatMessage

Field summary

Modifier and TypeField
private static final Object[]
d
NO_ARGS
field_24367
f_rqmcnzmj
EMPTY_ARGUMENTS
f_131295_
private static final FormattedText
e
TEXT_PERCENT
field_24368
f_iaakkizh
LITERAL_PERCENT_SIGN
f_131296_
private static final FormattedText
f
TEXT_NULL
field_24369
f_nwazbkpn
NULL_ARGUMENT
f_131297_
private final String
g
key
field_11876
f_gxwphwyg
key
f_131298_
private final Object[]
h
args
field_11875
f_btezavgm
args
f_131299_
private Language
i
decomposedWith
field_25317
f_blqsqbct
languageCache
f_131300_
private List<FormattedText>
j
decomposedParts
field_11877
f_hywumdhu
translations
f_131301_
private static final Pattern
k
FORMAT_PATTERN
field_11872
f_hljlaopm
ARG_FORMAT
f_131302_

Constructor summary

ModifierConstructor
public (String key)
public (String key, Object... args)

Method summary

Modifier and TypeMethod
private void
k()
decompose()
method_11025()
m_gdssdapr()
updateTranslations()
m_131330_()
private void
a(String arg0, Consumer<qc> arg1)
decomposeTemplate(String arg0, Consumer<FormattedText> arg1)
method_11024(String arg0, Consumer<class_5348> arg1)
m_cofyinso(String arg0, Consumer<C_xzalvetc> arg1)
forEachPart(String translation, Consumer<StringVisitable> partsConsumer)
m_200005_(String p_200007_, Consumer<C_5000_> arg1)
private FormattedText
b(int arg0)
getArgument(int arg0)
method_29434(int arg0)
m_pchhkrln(int arg0)
getArg(int index)
m_131313_(int arg0)
public TranslatableComponent
h()
plainCopy()
method_11020()
m_uitqyshd()
copy()
m_6879_()
public <T> Optional<T>
b(qc$b<T> arg0, qj arg1)
visitSelf(FormattedText$StyledContentConsumer<T> arg0, Style arg1)
method_27660(class_5348$class_5246<T> arg0, class_2583 arg1)
m_bomynvxn(C_xzalvetc$C_rnsgpsnw<T> arg0, C_cpwnhism arg1)
visitSelf(StringVisitable$StyledVisitor<T> arg0, Style arg1)
m_7452_(C_5000_$C_5006_<T> p_131319_, C_5020_ arg1)
public <T> Optional<T>
b(qc$a<T> arg0)
visitSelf(FormattedText$ContentConsumer<T> arg0)
method_27659(class_5348$class_5245<T> arg0)
m_dlwqulci(C_xzalvetc$C_delqnnjz<T> arg0)
visitSelf(StringVisitable$Visitor<T> arg0)
m_5655_(C_5000_$C_5005_<T> arg0)
public MutableComponent
a(dm arg0, awt arg1, int arg2)
resolve(CommandSourceStack arg0, Entity arg1, int arg2)
method_10890(class_2168 arg0, class_1297 arg1, int arg2)
m_ohlbzsyz(C_pennblrk arg0, C_astfners arg1, int arg2)
parse(ServerCommandSource arg0, Entity arg1, int arg2)
m_5638_(C_2969_ p_131311_, C_507_ p_131312_, int arg2)
public String
i()
getKey()
method_11022()
m_rmyvgpbn()
getKey()
m_131328_()
public Object[]
j()
getArgs()
method_11023()
m_vjmlnswp()
getArgs()
m_131329_()