net.minecraft.text

public class Style

nb
net.minecraft.network.chat.Style
net.minecraft.class_2583
net.minecraft.text.Style
net.minecraft.unmapped.C_cpwnhism
net.minecraft.util.text.Style
net.minecraft.util.text.Style

Field summary

Modifier and TypeField
public static final Identifier
a
DEFAULT_FONT
field_24359
DEFAULT_FONT_ID
f_rjkvqmvf
field_240708_a_
DEFAULT_FONT
public static final Style
b
EMPTY
field_24360
EMPTY
f_lyfnndrz
field_240709_b_
EMPTY
private final TextColor
c
color
field_11855
color
f_akgqrpsz
field_150247_b
color
private final Boolean
d
bold
field_11856
bold
f_mcvftdup
field_150248_c
bold
private final Boolean
e
italic
field_11852
italic
f_uorxvlwb
field_150245_d
italic
private final Boolean
f
underlined
field_11851
underlined
f_ccdlxlro
field_150246_e
underlined
private final Boolean
g
strikethrough
field_11857
strikethrough
f_mchdivkw
field_150243_f
strikethrough
private final Boolean
h
obfuscated
field_11861
obfuscated
f_wxbzpcki
field_150244_g
obfuscated
private final ClickEvent
i
clickEvent
field_11853
clickEvent
f_asegqccv
field_150251_h
clickEvent
private final HoverEvent
j
hoverEvent
field_11858
hoverEvent
f_qhlslkgi
field_150252_i
hoverEvent
private final String
k
insertion
field_11859
insertion
f_shbyrpex
field_179990_j
insertion
private final Identifier
l
font
field_24361
font
f_ivadppyn
field_240710_l_
fontId

Constructor summary

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

Method summary

Modifier and TypeMethod
public TextColor
a()
getColor()
method_10973()
getColor()
m_vsxfmets()
func_240711_a_()
getColor()
public boolean
b()
isBold()
method_10984()
isBold()
m_nxurtnrm()
func_150223_b()
getBold()
public boolean
c()
isItalic()
method_10966()
isItalic()
m_fnvclztz()
func_150242_c()
getItalic()
public boolean
d()
isStrikethrough()
method_10986()
isStrikethrough()
m_bqpchnnx()
func_150236_d()
getStrikethrough()
public boolean
e()
isUnderlined()
method_10965()
isUnderlined()
m_wacqbihg()
func_150234_e()
getUnderlined()
public boolean
f()
isObfuscated()
method_10987()
isObfuscated()
m_qcmwadxl()
func_150233_f()
getObfuscated()
public boolean
g()
isEmpty()
method_10967()
isEmpty()
m_zefghcpx()
func_150229_g()
isEmpty()
public ClickEvent
h()
getClickEvent()
method_10970()
getClickEvent()
m_bvsibhlv()
func_150235_h()
getClickEvent()
public HoverEvent
i()
getHoverEvent()
method_10969()
getHoverEvent()
m_hqnkcfpf()
func_150210_i()
getHoverEvent()
public String
j()
getInsertion()
method_10955()
getInsertion()
m_zvemalqw()
func_179986_j()
getInsertion()
public Identifier
k()
getFont()
method_27708()
getFont()
m_bfmbgava()
func_240729_k_()
getFontId()
public Style
a(nc arg0)
withColor(TextColor arg0)
method_27703(class_5251 arg0)
withColor(TextColor color)
m_qgxaajxs(C_wvsbwbil arg0)
func_240718_a_(Color arg0)
setColor(Color color)
public Style
a(i arg0)
withColor(ChatFormatting arg0)
method_10977(class_124 arg0)
withColor(Formatting color)
m_uugzmwcj(C_tnezalvh arg0)
func_240712_a_(TextFormatting arg0)
setFormatting(TextFormatting formatting)
public Style
a(Boolean arg0)
withBold(Boolean arg0)
method_10982(Boolean arg0)
withBold(Boolean bold)
m_zmnznmyq(Boolean arg0)
func_240713_a_(Boolean arg0)
setBold(Boolean bold)
public Style
b(Boolean arg0)
withItalic(Boolean arg0)
method_10978(Boolean arg0)
withItalic(Boolean italic)
m_snapumsc(Boolean arg0)
func_240722_b_(Boolean arg0)
setItalic(Boolean italic)
public Style
a(mp arg0)
withClickEvent(ClickEvent arg0)
method_10958(class_2558 arg0)
withClickEvent(ClickEvent clickEvent)
m_ckuyqkid(C_djywfbme arg0)
func_240715_a_(ClickEvent arg0)
setClickEvent(ClickEvent clickEvent)
public Style
a(mv arg0)
withHoverEvent(HoverEvent arg0)
method_10949(class_2568 arg0)
setHoverEvent(HoverEvent hoverEvent)
m_nroewwrx(C_qhrnrrcp arg0)
func_240716_a_(HoverEvent arg0)
setHoverEvent(HoverEvent hoverEvent)
public Style
a(String arg0)
withInsertion(String arg0)
method_10975(String arg0)
withInsertion(String insertion)
m_urugkexy(String arg0)
func_240714_a_(String arg0)
setInsertion(String insertion)
public Style
b(i arg0)
applyFormat(ChatFormatting arg0)
method_27706(class_124 arg0)
withFormatting(Formatting formatting)
m_ikeeyrch(C_tnezalvh arg0)
func_240721_b_(TextFormatting arg0)
applyFormatting(TextFormatting formatting)
public Style
a(i... arg0)
applyFormats(ChatFormatting... arg0)
method_27705(class_124... arg0)
withFormatting(Formatting... formattings)
m_zspjdzlp(C_tnezalvh... arg0)
func_240720_a_(TextFormatting... arg0)
createStyleFromFormattings(TextFormatting... formatings)
public Style
a(nb arg0)
applyTo(Style arg0)
method_27702(class_2583 arg0)
withParent(Style parent)
m_vhdzgrho(C_cpwnhism arg0)
func_240717_a_(Style arg0)
mergeStyle(Style style)
public Style
a(uh arg0)
withFont(ResourceLocation arg0)
method_27704(class_2960 arg0)
withFont(Identifier font)
m_zmfsfvfi(C_ncpywfca arg0)
func_240719_a_(ResourceLocation arg0)
setFontId(ResourceLocation fontId)
public Style
c(i arg0)
applyLegacyFormat(ChatFormatting arg0)
method_27707(class_124 arg0)
withExclusiveFormatting(Formatting formatting)
m_uzghvhdp(C_tnezalvh arg0)
func_240723_c_(TextFormatting arg0)
forceFormatting(TextFormatting formatting)