Package net.minecraft.network.chat
Class TextColor
java.lang.Object
net.minecraft.network.chat.TextColor
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
private static final Map<ChatFormatting,
TextColor> private final String
private final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
private String
static TextColor
fromLegacyFormat
(ChatFormatting p_131271_) static TextColor
fromRgb
(int p_131267_) int
getValue()
int
hashCode()
static TextColor
parseColor
(String p_131269_) toString()
-
Field Details
-
CUSTOM_COLOR_PREFIX
- See Also:
-
LEGACY_FORMAT_TO_COLOR
-
NAMED_COLORS
-
value
private final int value -
name
-
-
Constructor Details
-
TextColor
-
TextColor
private TextColor(int p_131261_)
-
-
Method Details