net.minecraft.network.chat

public class TranslatableComponent

extends BaseComponent implements ContextAwareComponent

All mapped superinterfaces:

Component, ContextAwareComponent

lp
net.minecraft.network.chat.TranslatableComponent
net.minecraft.class_2588
net.minecraft.text.TranslatableText
net.minecraft.util.text.TranslationTextComponent
net.minecraft.server.v1_15_R1.ChatMessage

Field summary

Modifier and TypeField
private static final Language
d
DEFAULT_LANGUAGE
field_11870
EMPTY_LANGUAGE
field_200526_d
private static final Language
e
LANGUAGE
field_11874
LANGUAGE
field_200527_e
private final String
f
key
field_11876
key
field_150276_d
key
private final Object[]
g
args
field_11875
args
field_150277_e
args
private final Object
h
decomposeLock
field_11873
lock
field_150274_f
private long
i
decomposedLanguageTime
field_11871
languageReloadTimestamp
field_150275_g
protected final List<Component>
b
decomposedParts
field_11877
translations
field_150278_b
public static final Pattern
c
FORMAT_PATTERN
field_11872
ARG_FORMAT
field_150279_c

Constructor summary

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

Method summary

Modifier and TypeMethod
synchronized void
i()
decompose()
method_11025()
updateTranslations()
func_150270_g()
protected void
b(String arg0)
decomposeTemplate(String arg0)
method_11024(String arg0)
setTranslation(String translation)
func_150269_b(String arg0)
private Component
b(int arg0)
getComponent(int arg0)
method_11021(int arg0)
getArg(int index)
func_150272_a(int arg0)
public Component
a(ln arg0)
setStyle(Style arg0)
method_10862(class_2583 arg0)
setStyle(Style arg0)
func_150255_a(Style arg0)
setChatModifier(ChatModifier arg0)
public Stream<Component>
c()
stream()
method_10865()
stream()
func_212640_c()
public String
d()
getContents()
method_10851()
asString()
func_150261_e()
getText()
public TranslatableComponent
j()
copy()
method_11020()
copy()
func_150259_f()
public Component
a(cq arg0, akn arg1, int arg2)
resolve(CommandSourceStack arg0, Entity arg1, int arg2)
method_10890(class_2168 arg0, class_1297 arg1, int arg2)
parse(ServerCommandSource arg0, Entity arg1, int arg2)
func_197668_a(CommandSource arg0, Entity arg1, int arg2)
public String
k()
getKey()
method_11022()
getKey()
func_150268_i()
getKey()
public Object[]
l()
getArgs()
method_11023()
getArgs()
func_150271_j()
getArgs()