net.minecraft

public enum ChatFormatting

implements StringRepresentable

n
net.minecraft.ChatFormatting
net.minecraft.class_124
net.minecraft.unmapped.C_tnezalvh
net.minecraft.util.Formatting
net.minecraft.util.Formatting
net.minecraft.src.C_4856_
net.minecraft.EnumChatFormat

Enum constant summary

Enum Constant
a
BLACK
field_1074
f_nrkcsnvn
BLACK
BLACK
BLACK
b
DARK_BLUE
field_1058
f_ctyzecnf
DARK_BLUE
DARK_BLUE
DARK_BLUE
c
DARK_GREEN
field_1077
f_xhinklfx
DARK_GREEN
DARK_GREEN
DARK_GREEN
d
DARK_AQUA
field_1062
f_zelxvlqv
DARK_AQUA
DARK_AQUA
DARK_AQUA
e
DARK_RED
field_1079
f_fedgnioo
DARK_RED
DARK_RED
DARK_RED
f
DARK_PURPLE
field_1064
f_qqblytnq
DARK_PURPLE
DARK_PURPLE
DARK_PURPLE
g
GOLD
field_1065
f_dqvjafot
GOLD
GOLD
GOLD
h
GRAY
field_1080
f_jpcvemtg
GRAY
GRAY
GRAY
i
DARK_GRAY
field_1063
f_umowlwps
DARK_GRAY
DARK_GRAY
DARK_GRAY
j
BLUE
field_1078
f_iwfravwy
BLUE
BLUE
BLUE
k
GREEN
field_1060
f_xmniqmjr
GREEN
GREEN
GREEN
l
AQUA
field_1075
f_dvoddlrn
AQUA
AQUA
AQUA
m
RED
field_1061
f_gdaktldc
RED
RED
RED
n
LIGHT_PURPLE
field_1076
f_olbdalli
LIGHT_PURPLE
LIGHT_PURPLE
LIGHT_PURPLE
o
YELLOW
field_1054
f_rtleffbv
YELLOW
YELLOW
YELLOW
p
WHITE
field_1068
f_oqlgkpnx
WHITE
WHITE
WHITE
q
OBFUSCATED
field_1051
f_gkdkkcku
OBFUSCATED
OBFUSCATED
OBFUSCATED
r
BOLD
field_1067
f_xubawvnp
BOLD
BOLD
BOLD
s
STRIKETHROUGH
field_1055
f_lsydtvbz
STRIKETHROUGH
STRIKETHROUGH
STRIKETHROUGH
t
UNDERLINE
field_1073
f_bsuxkfri
UNDERLINE
UNDERLINE
UNDERLINE
u
ITALIC
field_1056
f_gtcdjnza
ITALIC
ITALIC
ITALIC
v
RESET
field_1070
f_gkxvmrzu
RESET
RESET
RESET

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<ChatFormatting>
w
CODEC
field_39218
f_okppgslj
CODEC
CODEC
f_236796_
public static final char
x
PREFIX_CODE
field_33292
f_bhwovdge
FORMATTING_CODE_PREFIX
FORMATTING_CODE_PREFIX
f_178509_
private static final Map<String, ChatFormatting>
y
FORMATTING_BY_NAME
field_1052
f_rkhdkqis
BY_NAME
BY_NAME
f_126619_
private static final Pattern
z
STRIP_FORMATTING_PATTERN
field_1066
f_fagqqjjt
FORMATTING_CODE_PATTERN
FORMATTING_CODE_PATTERN
f_126620_
private final String
A
name
field_1057
f_omzjeizr
name
name
f_126621_
private final char
B
code
field_1059
f_uyefkbtd
code
code
f_126622_
private final boolean
C
isFormat
field_1081
f_ykyhquen
modifier
modifier
f_126592_
private final String
D
toString
field_1069
f_csmoavop
stringValue
stringValue
f_126593_
private final int
E
id
field_1071
f_wtbjzdop
colorIndex
colorIndex
f_126594_
private final Integer
F
color
field_1053
f_crvzhten
colorValue
colorValue
f_126595_

Constructor summary

ModifierConstructor
private (String p_126626_, char p_126627_, int name, Integer code)
private (String p_126633_, char p_126634_, boolean name)
private (String p_126639_, char p_126640_, boolean name, int code, Integer modifier)

Method summary

Modifier and TypeMethod
private static String
c(String arg0)
cleanName(String arg0)
method_535(String arg0)
m_ejjtulnn(String arg0)
sanitize(String name)
sanitize(String name)
m_126662_(String p_126663_)
public char
a()
getChar()
method_36145()
m_bduaqyoa()
getCode()
getCode()
m_178510_()
public int
b()
getId()
method_536()
m_cltdcdps()
getColorIndex()
getColorIndex()
m_126656_()
public boolean
d()
isFormat()
method_542()
m_ljjsyahl()
isModifier()
isModifier()
m_126661_()
public boolean
e()
isColor()
method_543()
m_yxgvjenh()
isColor()
isColor()
m_126664_()
public Integer
f()
getColor()
method_532()
m_edpsgxkq()
getColorValue()
getColorValue()
m_126665_()
public String
g()
getName()
method_537()
m_cypkslhd()
getName()
getName()
m_126666_()
public static String
a(String arg0)
stripFormatting(String arg0)
method_539(String arg0)
m_lamhudip(String arg0)
strip(String string)
strip(String string)
m_126649_(String p_126650_)
public static ChatFormatting
b(String arg0)
getByName(String arg0)
method_533(String arg0)
m_oiviorhw(String arg0)
byName(String name)
byName(String name)
m_126657_(String p_126658_)
public static ChatFormatting
a(int arg0)
getById(int arg0)
method_534(int arg0)
m_yztchpqa(int arg0)
byColorIndex(int colorIndex)
byColorIndex(int colorIndex)
m_126647_(int p_126648_)
public static ChatFormatting
a(char arg0)
getByCode(char arg0)
method_544(char arg0)
m_jvhpmjyc(char arg0)
byCode(char code)
byCode(char code)
m_126645_(char p_126646_)
public static Collection<String>
a(boolean arg0, boolean arg1)
getNames(boolean arg0, boolean arg1)
method_540(boolean arg0, boolean arg1)
m_jxcnyllh(boolean arg0, boolean arg1)
getNames(boolean colors, boolean modifiers)
getNames(boolean colors, boolean modifiers)
m_126653_(boolean p_126654_, boolean p_126655_)
public String
c()
getSerializedName()
method_15434()
m_dxbrenur()
asString()
asString()
m_7912_()