net.minecraft.network.chat

public final class TextColor

tu
net.minecraft.network.chat.TextColor
net.minecraft.class_5251
net.minecraft.unmapped.C_wvsbwbil
net.minecraft.text.TextColor
net.minecraft.text.TextColor
net.minecraft.src.C_5024_
net.minecraft.network.chat.ChatHexColor

Field summary

Modifier and TypeField
private static final String
b
CUSTOM_COLOR_PREFIX
field_33291
f_zxiezvbh
RGB_PREFIX
RGB_PREFIX
f_178538_
public static final com.mojang.serialization.Codec<TextColor>
a
CODEC
field_39242
f_nufteoty
CODEC
CODEC
f_237295_
private static final Map<ChatFormatting, TextColor>
c
LEGACY_FORMAT_TO_COLOR
field_24362
f_zjkbpgyg
FORMATTING_TO_COLOR
FORMATTING_TO_COLOR
f_131255_
private static final Map<String, TextColor>
d
NAMED_COLORS
field_24363
f_lezvvnus
BY_NAME
BY_NAME
f_131256_
private final int
e
value
field_24364
f_evthvqzi
rgb
rgb
f_131257_
private final String
f
name
field_24365
f_fstalqyb
name
name
f_131258_

Constructor summary

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

Method summary

Modifier and TypeMethod
public int
a()
getValue()
method_27716()
m_kjqemusj()
getRgb()
getRgb()
m_131265_()
public String
b()
serialize()
method_27721()
m_zawhgljr()
getName()
getName()
m_131274_()
private String
c()
formatValue()
method_27723()
m_qjqylipa()
getHexCode()
getHexCode()
m_131277_()
public static TextColor
a(n arg0)
fromLegacyFormat(ChatFormatting arg0)
method_27718(class_124 arg0)
m_uyajifuq(C_tnezalvh arg0)
fromFormatting(Formatting formatting)
fromFormatting(Formatting formatting)
m_131270_(C_4856_ p_131271_)
public static TextColor
a(int arg0)
fromRgb(int arg0)
method_27717(int arg0)
m_hpfnuoaf(int arg0)
fromRgb(int rgb)
fromRgb(int rgb)
m_131266_(int p_131267_)
public static TextColor
a(String arg0)
parseColor(String arg0)
method_27719(String arg0)
m_yrfnkibv(String arg0)
parse(String name)
parse(String name)
m_131268_(String p_131269_)