Package net.minecraft.network.chat
Class TextColor
java.lang.Object
net.minecraft.network.chat.TextColor
-
Field Summary
-
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 com.mojang.serialization.DataResult<TextColor>
parseColor
(String p_131269_) toString()
-
Field Details
-
CUSTOM_COLOR_PREFIX
- See Also:
-
CODEC
-
LEGACY_FORMAT_TO_COLOR
-
NAMED_COLORS
-
value
private final int value -
name
-
-
Constructor Details
-
TextColor
-
TextColor
private TextColor(int p_131261_)
-
-
Method Details