net.minecraft

public enum ChatFormatting

p
net.minecraft.ChatFormatting
net.minecraft.class_124
net.minecraft.util.Formatting
net.minecraft.src.C_4856_
net.minecraft.EnumChatFormat

Enum constant summary

Enum Constant
a
BLACK
field_1074
BLACK
BLACK
b
DARK_BLUE
field_1058
DARK_BLUE
DARK_BLUE
c
DARK_GREEN
field_1077
DARK_GREEN
DARK_GREEN
d
DARK_AQUA
field_1062
DARK_AQUA
DARK_AQUA
e
DARK_RED
field_1079
DARK_RED
DARK_RED
f
DARK_PURPLE
field_1064
DARK_PURPLE
DARK_PURPLE
g
GOLD
field_1065
GOLD
GOLD
h
GRAY
field_1080
GRAY
GRAY
i
DARK_GRAY
field_1063
DARK_GRAY
DARK_GRAY
j
BLUE
field_1078
BLUE
BLUE
k
GREEN
field_1060
GREEN
GREEN
l
AQUA
field_1075
AQUA
AQUA
m
RED
field_1061
RED
RED
n
LIGHT_PURPLE
field_1076
LIGHT_PURPLE
LIGHT_PURPLE
o
YELLOW
field_1054
YELLOW
YELLOW
p
WHITE
field_1068
WHITE
WHITE
q
OBFUSCATED
field_1051
OBFUSCATED
OBFUSCATED
r
BOLD
field_1067
BOLD
BOLD
s
STRIKETHROUGH
field_1055
STRIKETHROUGH
STRIKETHROUGH
t
UNDERLINE
field_1073
UNDERLINE
UNDERLINE
u
ITALIC
field_1056
ITALIC
ITALIC
v
RESET
field_1070
RESET
RESET

Field summary

Modifier and TypeField
public static final char
w
PREFIX_CODE
field_33292
FORMATTING_CODE_PREFIX
f_178509_
private static final Map<String, ChatFormatting>
x
FORMATTING_BY_NAME
field_1052
BY_NAME
f_126619_
private static final Pattern
y
STRIP_FORMATTING_PATTERN
field_1066
FORMATTING_CODE_PATTERN
f_126620_
private final String
z
name
field_1057
name
f_126621_
private final char
A
code
field_1059
code
f_126622_
private final boolean
B
isFormat
field_1081
modifier
f_126592_
private final String
C
toString
field_1069
stringValue
f_126593_
private final int
D
id
field_1071
colorIndex
f_126594_
private final Integer
E
color
field_1053
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)
sanitize(String name)
m_126662_(String p_126663_)
public char
a()
getChar()
method_36145()
getCode()
m_178510_()
public int
b()
getId()
method_536()
getColorIndex()
m_126656_()
public boolean
c()
isFormat()
method_542()
isModifier()
m_126661_()
public boolean
d()
isColor()
method_543()
isColor()
m_126664_()
public Integer
e()
getColor()
method_532()
getColorValue()
m_126665_()
public String
f()
getName()
method_537()
getName()
m_126666_()
public static String
a(String arg0)
stripFormatting(String arg0)
method_539(String arg0)
strip(String string)
m_126649_(String p_126650_)
public static ChatFormatting
b(String arg0)
getByName(String arg0)
method_533(String arg0)
byName(String name)
m_126657_(String p_126658_)
public static ChatFormatting
a(int arg0)
getById(int arg0)
method_534(int arg0)
byColorIndex(int colorIndex)
m_126647_(int p_126648_)
public static ChatFormatting
a(char arg0)
getByCode(char arg0)
method_544(char arg0)
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)
getNames(boolean colors, boolean modifiers)
m_126653_(boolean p_126654_, boolean p_126655_)