net.minecraft.network.chat

public class TranslatableComponent

extends BaseComponent implements ContextAwareComponent

All mapped superinterfaces:

MutableComponent, Component, FormattedText, ContextAwareComponent

of
net.minecraft.network.chat.TranslatableComponent
net.minecraft.class_2588
net.minecraft.unmapped.C_mwvhsixd
net.minecraft.text.TranslatableText
net.minecraft.util.text.TranslationTextComponent
net.minecraft.server.v1_16_R3.ChatMessage

Field summary

Modifier and TypeField
private static final Object[]
d
NO_ARGS
field_24367
f_rqmcnzmj
EMPTY_ARGUMENTS
field_240753_d_
private static final FormattedText
e
TEXT_PERCENT
field_24368
f_iaakkizh
LITERAL_PERCENT_SIGN
field_240754_e_
private static final FormattedText
f
TEXT_NULL
field_24369
f_nwazbkpn
NULL_ARGUMENT
field_240755_f_
private final String
g
key
field_11876
f_gxwphwyg
key
field_150276_d
key
private final Object[]
h
args
field_11875
f_btezavgm
args
field_150277_e
args
private Language
i
decomposedWith
field_25317
f_blqsqbct
languageCache
field_240756_i_
private final List<FormattedText>
j
decomposedParts
field_11877
f_hywumdhu
translations
field_150278_b
private static final Pattern
k
FORMAT_PATTERN
field_11872
f_hljlaopm
ARG_FORMAT
field_150279_c

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()
func_150270_g()
private void
d(String arg0)
decomposeTemplate(String arg0)
method_11024(String arg0)
m_cofyinso(String arg0)
setTranslation(String translation)
func_240758_a_(String arg0)
private FormattedText
b(int arg0)
getArgument(int arg0)
method_29434(int arg0)
m_pchhkrln(int arg0)
getArg(int index)
func_240757_a_(int arg0)
public TranslatableComponent
h()
plainCopy()
method_11020()
m_uitqyshd()
copy()
func_230531_f_()
public <T> Optional<T>
b(nu$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)
func_230533_b_(ITextProperties$ITextAcceptor<T> arg0)
public MutableComponent
a(db arg0, aqa 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)
func_230535_a_(CommandSource arg0, Entity arg1, int arg2)
public String
i()
getKey()
method_11022()
m_rmyvgpbn()
getKey()
func_150268_i()
getKey()
public Object[]
j()
getArgs()
method_11023()
m_vjmlnswp()
getArgs()
func_150271_j()
getArgs()
public <T> Optional<T>
b(nu$b<T> arg0, ob 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)
func_230534_b_(ITextProperties$IStyledTextAcceptor<T> arg0, Style arg1)