net.minecraft

public enum ChatFormatting

c
net.minecraft.ChatFormatting
net.minecraft.class_124
net.minecraft.util.Formatting
net.minecraft.util.text.TextFormatting
net.minecraft.server.v1_14_R1.EnumChatFormat

Enum constant summary

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

Field summary

Modifier and TypeField
private static final Map<String, ChatFormatting>
w
FORMATTING_BY_NAME
field_1052
BY_NAME
field_96331_x
private static final Pattern
x
STRIP_FORMATTING_PATTERN
field_1066
FORMATTING_CODE_PATTERN
field_96330_y
private final String
y
name
field_1057
name
field_175748_y
private final char
z
code
field_1059
code
field_96329_z
character
private final boolean
A
isFormat
field_1081
modifier
field_96303_A
private final String
B
toString
field_1069
stringValue
field_96304_B
private final int
C
id
field_1071
colorIndex
field_175747_C
private final Integer
D
color
field_1053
colorValue
field_211167_D

Constructor summary

ModifierConstructor
private (String arg0, char arg1, int name, Integer code)
private (String arg0, char arg1, boolean name)
private (String arg0, char arg1, boolean name, int code, Integer modifier)

Method summary

Modifier and TypeMethod
private static String
d(String arg0)
cleanName(String arg0)
method_535(String arg0)
sanitize(String name)
func_175745_c(String arg0)
public int
b()
getId()
method_536()
getColorIndex()
func_175746_b()
public boolean
c()
isFormat()
method_542()
isModifier()
func_96301_b()
isFormat()
public boolean
d()
isColor()
method_543()
isColor()
func_96302_c()
public String
g()
getName()
method_537()
getName()
func_96297_d()
public static String
b(String arg0)
stripFormatting(String arg0)
method_539(String arg0)
strip(String string)
func_110646_a(String arg0)
public static ChatFormatting
c(String arg0)
getByName(String arg0)
method_533(String arg0)
byName(String name)
func_96300_b(String arg0)
public static ChatFormatting
a(int arg0)
getById(int arg0)
method_534(int arg0)
byColorIndex(int colorIndex)
func_175744_a(int arg0)
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)
func_96296_a(boolean arg0, boolean arg1)
public static String
a(String arg0)
getLastColors(String arg0)
method_538(String arg0)
getFormatAtEnd(String string)
func_211164_a(String arg0)
public Integer
e()
getColor()
method_532()
getColorValue()
func_211163_e()
public boolean
f()
shouldReset()
method_545()
affectsGlyphWidth()
func_211166_f()
public static ChatFormatting
a(char arg0)
getByCode(char arg0)
method_544(char arg0)
byCode(char code)
func_211165_a(char arg0)