net.minecraft.network.chat

public final class Style

zf
net.minecraft.network.chat.Style
net.minecraft.class_2583
net.minecraft.text.Style

Field summary

Modifier and TypeField
public static final Style
a
EMPTY
field_24360
EMPTY
public static final int
b
NO_SHADOW
field_63933
field_63933
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 FontDescription
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, FontDescription font)

Method summary

Modifier and TypeMethod
private static Style
a(Optional<zh> arg0, Optional<Integer> arg1, Optional<Boolean> arg2, Optional<Boolean> arg3, Optional<Boolean> arg4, Optional<Boolean> arg5, Optional<Boolean> arg6, Optional<yf> arg7, Optional<yo> arg8, Optional<String> arg9, Optional<ym> 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<FontDescription> 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_11719> 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<StyleSpriteSource> 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 FontDescription
l()
getFont()
method_27708()
getFont()
private static <T> Style
a(zf 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(zh arg0)
withColor(TextColor arg0)
method_27703(class_5251 arg0)
withColor(TextColor color)
public Style
a(l 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
m()
withoutShadow()
method_75861()
withoutShadow()
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(yf arg0)
withClickEvent(ClickEvent arg0)
method_10958(class_2558 arg0)
withClickEvent(ClickEvent clickEvent)
public Style
a(yo 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(ym arg0)
withFont(FontDescription arg0)
method_27704(class_11719 arg0)
withFont(StyleSpriteSource font)
public Style
b(l arg0)
applyFormat(ChatFormatting arg0)
method_27706(class_124 arg0)
withFormatting(Formatting formatting)
public Style
c(l arg0)
applyLegacyFormat(ChatFormatting arg0)
method_27707(class_124 arg0)
withExclusiveFormatting(Formatting formatting)
public Style
a(l... arg0)
applyFormats(ChatFormatting... arg0)
method_27705(class_124... arg0)
withFormatting(Formatting... formattings)
public Style
a(zf arg0)
applyTo(Style arg0)
method_27702(class_2583 arg0)
withParent(Style parent)