net.minecraft.network.chat

public class Style

xm
net.minecraft.network.chat.Style
net.minecraft.class_2583
net.minecraft.text.Style
net.minecraft.network.chat.ChatModifier

Field summary

Modifier and TypeField
public static final Style
a
EMPTY
field_24360
EMPTY
public static final ResourceLocation
b
DEFAULT_FONT
field_24359
DEFAULT_FONT_ID
final TextColor
c
color
field_11855
color
final Integer
d
shadowColor
field_55191
shadowColor
final Boolean
e
bold
field_11856
bold
final Boolean
f
italic
field_11852
italic
final Boolean
g
underlined
field_11851
underlined
final Boolean
h
strikethrough
field_11857
strikethrough
final Boolean
i
obfuscated
field_11861
obfuscated
final ClickEvent
j
clickEvent
field_11853
clickEvent
final HoverEvent
k
hoverEvent
field_11858
hoverEvent
final String
l
insertion
field_11859
insertion
final ResourceLocation
m
font
field_24361
font

Constructor summary

ModifierConstructor
private (TextColor color, Integer shadowColor, 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<xo> arg0, Optional<Integer> arg1, Optional<Boolean> arg2, Optional<Boolean> arg3, Optional<Boolean> arg4, Optional<Boolean> arg5, Optional<Boolean> arg6, Optional<wn> arg7, Optional<wv> arg8, Optional<String> arg9, Optional<akv> arg10)
create(Optional<TextColor> arg0, Optional<Integer> arg1, Optional<Boolean> arg2, Optional<Boolean> arg3, Optional<Boolean> arg4, Optional<Boolean> arg5, Optional<Boolean> arg6, Optional<ClickEvent> arg7, Optional<HoverEvent> arg8, Optional<String> arg9, Optional<ResourceLocation> arg10)
method_43870(Optional<class_5251> arg0, Optional<Integer> arg1, Optional<Boolean> arg2, Optional<Boolean> arg3, Optional<Boolean> arg4, Optional<Boolean> arg5, Optional<Boolean> arg6, Optional<class_2558> arg7, Optional<class_2568> arg8, Optional<String> arg9, Optional<class_2960> arg10)
of(Optional<TextColor> color, Optional<Integer> shadowColor, 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)
public TextColor
a()
getColor()
method_10973()
getColor()
public Integer
b()
getShadowColor()
method_65301()
getShadowColor()
public boolean
c()
isBold()
method_10984()
isBold()
public boolean
d()
isItalic()
method_10966()
isItalic()
public boolean
e()
isStrikethrough()
method_10986()
isStrikethrough()
public boolean
f()
isUnderlined()
method_10965()
isUnderlined()
public boolean
g()
isObfuscated()
method_10987()
isObfuscated()
public boolean
h()
isEmpty()
method_10967()
isEmpty()
public ClickEvent
i()
getClickEvent()
method_10970()
getClickEvent()
public HoverEvent
j()
getHoverEvent()
method_10969()
getHoverEvent()
public String
k()
getInsertion()
method_10955()
getInsertion()
public ResourceLocation
l()
getFont()
method_27708()
getFont()
private static <T> Style
a(xm arg0, T arg1, T arg2)
checkEmptyAfterChange(Style arg0, T arg1, T arg2)
method_54210(class_2583 arg0, T arg1, T arg2)
with(Style newStyle, T oldAttribute, T newAttribute)
public Style
a(xo arg0)
withColor(TextColor arg0)
method_27703(class_5251 arg0)
withColor(TextColor color)
public Style
a(n arg0)
withColor(ChatFormatting arg0)
method_10977(class_124 arg0)
withColor(Formatting color)
public Style
a(int arg0)
withColor(int arg0)
method_36139(int arg0)
withColor(int rgbColor)
public Style
b(int arg0)
withShadowColor(int arg0)
method_65302(int arg0)
withShadowColor(int shadowColor)
public Style
a(Boolean arg0)
withBold(Boolean arg0)
method_10982(Boolean arg0)
withBold(Boolean bold)
public Style
b(Boolean arg0)
withItalic(Boolean arg0)
method_10978(Boolean arg0)
withItalic(Boolean italic)
public Style
c(Boolean arg0)
withUnderlined(Boolean arg0)
method_30938(Boolean arg0)
withUnderline(Boolean underline)
public Style
d(Boolean arg0)
withStrikethrough(Boolean arg0)
method_36140(Boolean arg0)
withStrikethrough(Boolean strikethrough)
public Style
e(Boolean arg0)
withObfuscated(Boolean arg0)
method_36141(Boolean arg0)
withObfuscated(Boolean obfuscated)
public Style
a(wn arg0)
withClickEvent(ClickEvent arg0)
method_10958(class_2558 arg0)
withClickEvent(ClickEvent clickEvent)
public Style
a(wv arg0)
withHoverEvent(HoverEvent arg0)
method_10949(class_2568 arg0)
withHoverEvent(HoverEvent hoverEvent)
public Style
a(String arg0)
withInsertion(String arg0)
method_10975(String arg0)
withInsertion(String insertion)
public Style
a(akv arg0)
withFont(ResourceLocation arg0)
method_27704(class_2960 arg0)
withFont(Identifier font)
public Style
b(n arg0)
applyFormat(ChatFormatting arg0)
method_27706(class_124 arg0)
withFormatting(Formatting formatting)
public Style
c(n arg0)
applyLegacyFormat(ChatFormatting arg0)
method_27707(class_124 arg0)
withExclusiveFormatting(Formatting formatting)
public Style
a(n... arg0)
applyFormats(ChatFormatting... arg0)
method_27705(class_124... arg0)
withFormatting(Formatting... formattings)
public Style
a(xm arg0)
applyTo(Style arg0)
method_27702(class_2583 arg0)
withParent(Style parent)