net.minecraft.network.chat

public class CommonComponents

rl
net.minecraft.network.chat.CommonComponents
net.minecraft.class_5244
net.minecraft.screen.ScreenTexts
net.minecraft.src.C_4995_
net.minecraft.network.chat.CommonComponents

Field summary

Modifier and TypeField
public static final Component
a
EMPTY
field_39003
EMPTY
f_237098_
public static final Component
b
OPTION_ON
field_24332
ON
f_130653_
public static final Component
c
OPTION_OFF
field_24333
OFF
f_130654_
public static final Component
d
GUI_DONE
field_24334
DONE
f_130655_
public static final Component
e
GUI_CANCEL
field_24335
CANCEL
f_130656_
public static final Component
f
GUI_YES
field_24336
YES
f_130657_
public static final Component
g
GUI_NO
field_24337
NO
f_130658_
public static final Component
h
GUI_PROCEED
field_24338
PROCEED
f_130659_
public static final Component
i
GUI_BACK
field_24339
BACK
f_130660_
public static final Component
j
CONNECT_FAILED
field_26625
CONNECT_FAILED
f_130661_
public static final Component
k
NEW_LINE
field_33849
LINE_BREAK
f_178388_
public static final Component
l
NARRATION_SEPARATOR
field_33850
SENTENCE_SEPARATOR
f_178389_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static Component
a(boolean arg0)
optionStatus(boolean arg0)
method_36134(boolean arg0)
onOrOff(boolean on)
m_130666_(boolean p_130667_)
public static MutableComponent
a(rm arg0, boolean arg1)
optionStatus(Component arg0, boolean arg1)
method_30619(class_2561 arg0, boolean arg1)
composeToggleText(Text text, boolean value)
m_130663_(C_4996_ p_130664_, boolean p_130665_)
public static MutableComponent
a(rm arg0, rm arg1)
optionNameValue(Component arg0, Component arg1)
method_32700(class_2561 arg0, class_2561 arg1)
composeGenericOptionText(Text text, Text value)
m_178393_(C_4996_ p_178394_, C_4996_ p_178395_)
public static MutableComponent
b(rm arg0, rm arg1)
joinForNarration(Component arg0, Component arg1)
method_37111(class_2561 arg0, class_2561 arg1)
joinSentences(Text first, Text second)
m_178398_(C_4996_ p_178399_, C_4996_ p_178400_)
public static Component
a(rm... arg0)
joinLines(Component... arg0)
method_37110(class_2561... arg0)
joinLines(Text... texts)
m_178396_(C_4996_... p_178397_)
public static Component
a(Collection<? extends rm> arg0)
joinLines(Collection<? extends Component> arg0)
method_37109(Collection<? extends class_2561> arg0)
joinLines(Collection<? extends Text> texts)
m_178391_(Collection<? extends C_4996_> p_178392_)