net.minecraft.network.chat

public class Style

ob
net.minecraft.network.chat.Style
net.minecraft.class_2583
net.minecraft.text.Style
net.minecraft.util.text.Style
net.minecraft.server.v1_16_R2.ChatModifier

Field summary

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

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
public TextColor
a()
getColor()
method_10973()
getColor()
func_240711_a_()
getColor()
public boolean
b()
isBold()
method_10984()
isBold()
func_150223_b()
isBold()
public boolean
c()
isItalic()
method_10966()
isItalic()
func_150242_c()
isItalic()
public boolean
d()
isStrikethrough()
method_10986()
isStrikethrough()
func_150236_d()
isStrikethrough()
public boolean
e()
isUnderlined()
method_10965()
isUnderlined()
func_150234_e()
isUnderlined()
public boolean
f()
isObfuscated()
method_10987()
isObfuscated()
func_150233_f()
isRandom()
public boolean
g()
isEmpty()
method_10967()
isEmpty()
func_150229_g()
public ClickEvent
h()
getClickEvent()
method_10970()
getClickEvent()
func_150235_h()
getClickEvent()
public HoverEvent
i()
getHoverEvent()
method_10969()
getHoverEvent()
func_150210_i()
getHoverEvent()
public String
j()
getInsertion()
method_10955()
getInsertion()
func_179986_j()
getInsertion()
public ResourceLocation
k()
getFont()
method_27708()
getFont()
func_240729_k_()
getFont()
public Style
a(od arg0)
withColor(TextColor arg0)
method_27703(class_5251 arg0)
withColor(TextColor color)
func_240718_a_(Color arg0)
setColor(ChatHexColor arg0)
public Style
a(k arg0)
withColor(ChatFormatting arg0)
method_10977(class_124 arg0)
withColor(Formatting color)
func_240712_a_(TextFormatting arg0)
setColor(EnumChatFormat arg0)
public Style
a(Boolean arg0)
withBold(Boolean arg0)
method_10982(Boolean arg0)
withBold(Boolean bold)
func_240713_a_(Boolean arg0)
setBold(Boolean arg0)
public Style
b(Boolean arg0)
withItalic(Boolean arg0)
method_10978(Boolean arg0)
withItalic(Boolean italic)
func_240722_b_(Boolean arg0)
setItalic(Boolean arg0)
public Style
a(np arg0)
withClickEvent(ClickEvent arg0)
method_10958(class_2558 arg0)
withClickEvent(ClickEvent clickEvent)
func_240715_a_(ClickEvent arg0)
setChatClickable(ChatClickable arg0)
public Style
a(nv arg0)
withHoverEvent(HoverEvent arg0)
method_10949(class_2568 arg0)
withHoverEvent(HoverEvent hoverEvent)
func_240716_a_(HoverEvent arg0)
setChatHoverable(ChatHoverable arg0)
public Style
a(String arg0)
withInsertion(String arg0)
method_10975(String arg0)
withInsertion(String insertion)
func_240714_a_(String arg0)
setInsertion(String arg0)
public Style
b(k arg0)
applyFormat(ChatFormatting arg0)
method_27706(class_124 arg0)
withFormatting(Formatting formatting)
func_240721_b_(TextFormatting arg0)
public Style
a(k... arg0)
applyFormats(ChatFormatting... arg0)
method_27705(class_124... arg0)
withFormatting(Formatting... formattings)
func_240720_a_(TextFormatting... arg0)
public Style
a(ob arg0)
applyTo(Style arg0)
method_27702(class_2583 arg0)
withParent(Style parent)
func_240717_a_(Style arg0)
setChatModifier(ChatModifier arg0)
public Style
c(Boolean arg0)
withUnderlined(Boolean arg0)
method_30938(Boolean arg0)
withUnderline(Boolean underline)
func_244282_c(Boolean arg0)
public Style
a(vk arg0)
withFont(ResourceLocation arg0)
method_27704(class_2960 arg0)
withFont(Identifier font)
func_240719_a_(ResourceLocation arg0)
public Style
c(k arg0)
applyLegacyFormat(ChatFormatting arg0)
method_27707(class_124 arg0)
withExclusiveFormatting(Formatting formatting)
func_240723_c_(TextFormatting arg0)