net.minecraft.network.chat

public class Style

xw
net.minecraft.network.chat.Style
net.minecraft.class_2583
net.minecraft.unmapped.C_cpwnhism
net.minecraft.text.Style
net.minecraft.text.Style
net.minecraft.src.C_5020_
net.minecraft.network.chat.ChatModifier

Field summary

Modifier and TypeField
public static final Style
a
EMPTY
field_24360
f_lyfnndrz
EMPTY
EMPTY
f_131099_
public static final ResourceLocation
b
DEFAULT_FONT
field_24359
f_rjkvqmvf
DEFAULT_FONT_ID
DEFAULT_FONT_ID
f_131100_
final TextColor
c
color
field_11855
f_akgqrpsz
color
color
f_131101_
final Boolean
d
bold
field_11856
f_mcvftdup
bold
bold
f_131102_
final Boolean
e
italic
field_11852
f_uorxvlwb
italic
italic
f_131103_
final Boolean
f
underlined
field_11851
f_ccdlxlro
underlined
underlined
f_131104_
final Boolean
g
strikethrough
field_11857
f_mchdivkw
strikethrough
strikethrough
f_131105_
final Boolean
h
obfuscated
field_11861
f_wxbzpcki
obfuscated
obfuscated
f_131106_
final ClickEvent
i
clickEvent
field_11853
f_asegqccv
clickEvent
clickEvent
f_131107_
final HoverEvent
j
hoverEvent
field_11858
f_qhlslkgi
hoverEvent
hoverEvent
f_131108_
final String
k
insertion
field_11859
f_shbyrpex
insertion
insertion
f_131109_
final ResourceLocation
l
font
field_24361
f_ivadppyn
font
font
f_131110_

Constructor summary

ModifierConstructor
private (TextColor color, Boolean bold, Boolean italic, Boolean underlined, Boolean strikethrough, Boolean obfuscated, ClickEvent clickEvent, HoverEvent hoverEvent, String insertion, ResourceLocation font)

Method summary

Modifier and TypeMethod
private static Style
a(Optional<xy> arg0, Optional<Boolean> arg1, Optional<Boolean> arg2, Optional<Boolean> arg3, Optional<Boolean> arg4, Optional<Boolean> arg5, Optional<wx> arg6, Optional<xf> arg7, Optional<String> arg8, Optional<akr> arg9)
create(Optional<TextColor> arg0, Optional<Boolean> arg1, Optional<Boolean> arg2, Optional<Boolean> arg3, Optional<Boolean> arg4, Optional<Boolean> arg5, Optional<ClickEvent> arg6, Optional<HoverEvent> arg7, Optional<String> arg8, Optional<ResourceLocation> arg9)
method_43870(Optional<class_5251> arg0, Optional<Boolean> arg1, Optional<Boolean> arg2, Optional<Boolean> arg3, Optional<Boolean> arg4, Optional<Boolean> arg5, Optional<class_2558> arg6, Optional<class_2568> arg7, Optional<String> arg8, Optional<class_2960> arg9)
m_ajyzlxsn(Optional<C_wvsbwbil> arg0, Optional<Boolean> arg1, Optional<Boolean> arg2, Optional<Boolean> arg3, Optional<Boolean> arg4, Optional<Boolean> arg5, Optional<C_djywfbme> arg6, Optional<C_qhrnrrcp> arg7, Optional<String> arg8, Optional<C_ncpywfca> arg9)
of(Optional<TextColor> color, Optional<Boolean> bold, Optional<Boolean> italic, Optional<Boolean> underlined, Optional<Boolean> strikethrough, Optional<Boolean> obfuscated, Optional<ClickEvent> arg6, Optional<HoverEvent> arg7, Optional<String> arg8, Optional<Identifier> arg9)
create(Optional<TextColor> color, Optional<Boolean> bold, Optional<Boolean> italic, Optional<Boolean> underlined, Optional<Boolean> strikethrough, Optional<Boolean> obfuscated, Optional<ClickEvent> clickEvent, Optional<HoverEvent> hoverEvent, Optional<String> insertion, Optional<Identifier> font)
m_237257_(Optional<C_5024_> p_237258_, Optional<Boolean> p_237259_, Optional<Boolean> p_237260_, Optional<Boolean> p_237261_, Optional<Boolean> p_237262_, Optional<Boolean> p_237263_, Optional<C_4993_> p_237264_, Optional<C_5007_> p_237265_, Optional<String> p_311416_, Optional<C_5265_> p_312643_)
public TextColor
a()
getColor()
method_10973()
m_vsxfmets()
getColor()
getColor()
m_131135_()
public boolean
b()
isBold()
method_10984()
m_nxurtnrm()
isBold()
isBold()
m_131154_()
public boolean
c()
isItalic()
method_10966()
m_fnvclztz()
isItalic()
isItalic()
m_131161_()
public boolean
d()
isStrikethrough()
method_10986()
m_bqpchnnx()
isStrikethrough()
isStrikethrough()
m_131168_()
public boolean
e()
isUnderlined()
method_10965()
m_wacqbihg()
isUnderlined()
isUnderlined()
m_131171_()
public boolean
f()
isObfuscated()
method_10987()
m_qcmwadxl()
isObfuscated()
isObfuscated()
m_131176_()
public boolean
g()
isEmpty()
method_10967()
m_zefghcpx()
isEmpty()
isEmpty()
m_131179_()
public ClickEvent
h()
getClickEvent()
method_10970()
m_bvsibhlv()
getClickEvent()
getClickEvent()
m_131182_()
public HoverEvent
i()
getHoverEvent()
method_10969()
m_hqnkcfpf()
getHoverEvent()
getHoverEvent()
m_131186_()
public String
j()
getInsertion()
method_10955()
m_zvemalqw()
getInsertion()
getInsertion()
m_131189_()
public ResourceLocation
k()
getFont()
method_27708()
m_bfmbgava()
getFont()
getFont()
m_131192_()
private static <T> Style
a(xw arg0, T arg1, T arg2)
checkEmptyAfterChange(Style arg0, T arg1, T arg2)
method_54210(class_2583 arg0, T arg1, T arg2)
m_akzhywag(C_cpwnhism arg0, T arg1, T arg2)
with(Style newStyle, T oldAttribute, T newAttribute)
checkEmptyAfterChange(Style newStyle, T oldAttribute, T newAttribute)
m_304787_(C_5020_ p_310345_, T p_309931_, T p_310845_)
public Style
a(xy arg0)
withColor(TextColor arg0)
method_27703(class_5251 arg0)
m_qgxaajxs(C_wvsbwbil arg0)
withColor(TextColor color)
withColor(TextColor color)
m_131148_(C_5024_ arg0)
public Style
a(n arg0)
withColor(ChatFormatting arg0)
method_10977(class_124 arg0)
m_uugzmwcj(C_tnezalvh arg0)
withColor(Formatting color)
withColor(Formatting color)
m_131140_(C_4856_ arg0)
public Style
a(int arg0)
withColor(int arg0)
method_36139(int arg0)
m_ubifhpoy(int arg0)
withColor(int rgbColor)
withColor(int rgbColor)
m_178520_(int arg0)
public Style
a(Boolean arg0)
withBold(Boolean arg0)
method_10982(Boolean arg0)
m_zmnznmyq(Boolean arg0)
withBold(Boolean bold)
withBold(Boolean bold)
m_131136_(Boolean arg0)
public Style
b(Boolean arg0)
withItalic(Boolean arg0)
method_10978(Boolean arg0)
m_snapumsc(Boolean arg0)
withItalic(Boolean italic)
withItalic(Boolean italic)
m_131155_(Boolean arg0)
public Style
c(Boolean arg0)
withUnderlined(Boolean arg0)
method_30938(Boolean arg0)
m_prhsgphy(Boolean arg0)
withUnderline(Boolean underline)
withUnderline(Boolean underline)
m_131162_(Boolean arg0)
public Style
d(Boolean arg0)
withStrikethrough(Boolean arg0)
method_36140(Boolean arg0)
m_fykamqvm(Boolean arg0)
withStrikethrough(Boolean strikethrough)
withStrikethrough(Boolean strikethrough)
m_178522_(Boolean arg0)
public Style
e(Boolean arg0)
withObfuscated(Boolean arg0)
method_36141(Boolean arg0)
m_ecpsptfx(Boolean arg0)
withObfuscated(Boolean obfuscated)
withObfuscated(Boolean obfuscated)
m_178524_(Boolean arg0)
public Style
a(wx arg0)
withClickEvent(ClickEvent arg0)
method_10958(class_2558 arg0)
m_ckuyqkid(C_djywfbme arg0)
withClickEvent(ClickEvent clickEvent)
withClickEvent(ClickEvent clickEvent)
m_131142_(C_4993_ arg0)
public Style
a(xf arg0)
withHoverEvent(HoverEvent arg0)
method_10949(class_2568 arg0)
m_nroewwrx(C_qhrnrrcp arg0)
withHoverEvent(HoverEvent hoverEvent)
withHoverEvent(HoverEvent hoverEvent)
m_131144_(C_5007_ arg0)
public Style
a(String arg0)
withInsertion(String arg0)
method_10975(String arg0)
m_urugkexy(String arg0)
withInsertion(String insertion)
withInsertion(String insertion)
m_131138_(String arg0)
public Style
a(akr arg0)
withFont(ResourceLocation arg0)
method_27704(class_2960 arg0)
m_zmfsfvfi(C_ncpywfca arg0)
withFont(Identifier font)
withFont(Identifier font)
m_131150_(C_5265_ arg0)
public Style
b(n arg0)
applyFormat(ChatFormatting arg0)
method_27706(class_124 arg0)
m_ikeeyrch(C_tnezalvh arg0)
withFormatting(Formatting formatting)
withFormatting(Formatting formatting)
m_131157_(C_4856_ arg0)
public Style
c(n arg0)
applyLegacyFormat(ChatFormatting arg0)
method_27707(class_124 arg0)
m_uzghvhdp(C_tnezalvh arg0)
withExclusiveFormatting(Formatting formatting)
withExclusiveFormatting(Formatting formatting)
m_131164_(C_4856_ arg0)
public Style
a(n... arg0)
applyFormats(ChatFormatting... arg0)
method_27705(class_124... arg0)
m_zspjdzlp(C_tnezalvh... arg0)
withFormatting(Formatting... formattings)
withFormatting(Formatting... formattings)
m_131152_(C_4856_... arg0)
public Style
a(xw arg0)
applyTo(Style arg0)
method_27702(class_2583 arg0)
m_vhdzgrho(C_cpwnhism arg0)
withParent(Style parent)
withParent(Style parent)
m_131146_(C_5020_ arg0)