net.minecraft.network.chat

public class CommonComponents

or
net.minecraft.network.chat.CommonComponents
net.minecraft.class_5244
net.minecraft.client.gui.screen.ScreenTexts
net.minecraft.src.C_4995_

Field summary

Modifier and TypeField
public static final Component
a
OPTION_ON
field_24332
ON
f_130653_
public static final Component
b
OPTION_OFF
field_24333
OFF
f_130654_
public static final Component
c
GUI_DONE
field_24334
DONE
f_130655_
public static final Component
d
GUI_CANCEL
field_24335
CANCEL
f_130656_
public static final Component
e
GUI_YES
field_24336
YES
f_130657_
public static final Component
f
GUI_NO
field_24337
NO
f_130658_
public static final Component
g
GUI_PROCEED
field_24338
PROCEED
f_130659_
public static final Component
h
GUI_BACK
field_24339
BACK
f_130660_
public static final Component
i
CONNECT_FAILED
field_26625
CONNECT_FAILED
f_130661_
public static final Component
j
NEW_LINE
field_33849
LINE_BREAK
f_178388_
public static final Component
k
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(os 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(os arg0, os 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(os arg0, os 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(os... arg0)
joinLines(Component... arg0)
method_37110(class_2561... arg0)
joinLines(Text... texts)
m_178396_(C_4996_... p_178397_)
public static Component
a(Collection<? extends os> 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_)