net.minecraft.network.chat

public final class TextColor

od
net.minecraft.network.chat.TextColor
net.minecraft.class_5251
net.minecraft.unmapped.C_wvsbwbil
net.minecraft.text.TextColor
net.minecraft.util.text.Color
net.minecraft.server.v1_16_R2.ChatHexColor

Field summary

Modifier and TypeField
private static final Map<ChatFormatting, TextColor>
a
LEGACY_FORMAT_TO_COLOR
field_24362
f_zjkbpgyg
FORMATTING_TO_COLOR
field_240738_a_
private static final Map<String, TextColor>
b
NAMED_COLORS
field_24363
f_lezvvnus
BY_NAME
field_240739_b_
private final int
c
value
field_24364
f_evthvqzi
rgb
field_240740_c_
rgb
private final String
d
name
field_24365
f_fstalqyb
name
field_240741_d_
name

Constructor summary

ModifierConstructor
private (int rgb, String name)
private (int rgb)

Method summary

Modifier and TypeMethod
public String
b()
serialize()
method_27721()
m_zawhgljr()
getName()
func_240747_b_()
private String
c()
formatValue()
method_27723()
m_qjqylipa()
getHexCode()
func_240749_c_()
public static TextColor
a(k arg0)
fromLegacyFormat(ChatFormatting arg0)
method_27718(class_124 arg0)
m_uyajifuq(C_tnezalvh arg0)
fromFormatting(Formatting formatting)
func_240744_a_(TextFormatting arg0)
public static TextColor
a(int arg0)
fromRgb(int arg0)
method_27717(int arg0)
m_hpfnuoaf(int arg0)
fromRgb(int rgb)
func_240743_a_(int arg0)
public static TextColor
a(String arg0)
parseColor(String arg0)
method_27719(String arg0)
m_yrfnkibv(String arg0)
parse(String name)
func_240745_a_(String arg0)
public int
a()
getValue()
method_27716()
m_kjqemusj()
getRgb()
func_240742_a_()