public enum EnumChatFormatting extends java.lang.Enum<EnumChatFormatting>
Enum Constant and Description |
---|
AQUA |
BLACK |
BLUE |
BOLD |
DARK_AQUA |
DARK_BLUE |
DARK_GRAY |
DARK_GREEN |
DARK_PURPLE |
DARK_RED |
GOLD |
GRAY |
GREEN |
ITALIC |
LIGHT_PURPLE |
OBFUSCATED |
RED |
RESET |
STRIKETHROUGH |
UNDERLINE |
WHITE |
YELLOW |
Modifier and Type | Method and Description |
---|---|
char |
getFormattingCode() |
java.lang.String |
getFriendlyName() |
static java.lang.String |
getTextWithoutFormattingCodes(java.lang.String p_110646_0_) |
static java.util.Collection |
getValidValues(boolean p_96296_0_,
boolean p_96296_1_) |
static EnumChatFormatting |
getValueByName(java.lang.String p_96300_0_) |
boolean |
isColor() |
boolean |
isFancyStyling() |
java.lang.String |
toString() |
static EnumChatFormatting |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumChatFormatting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumChatFormatting BLACK
public static final EnumChatFormatting DARK_BLUE
public static final EnumChatFormatting DARK_GREEN
public static final EnumChatFormatting DARK_AQUA
public static final EnumChatFormatting DARK_RED
public static final EnumChatFormatting DARK_PURPLE
public static final EnumChatFormatting GOLD
public static final EnumChatFormatting GRAY
public static final EnumChatFormatting DARK_GRAY
public static final EnumChatFormatting BLUE
public static final EnumChatFormatting GREEN
public static final EnumChatFormatting AQUA
public static final EnumChatFormatting RED
public static final EnumChatFormatting LIGHT_PURPLE
public static final EnumChatFormatting YELLOW
public static final EnumChatFormatting WHITE
public static final EnumChatFormatting OBFUSCATED
public static final EnumChatFormatting BOLD
public static final EnumChatFormatting STRIKETHROUGH
public static final EnumChatFormatting UNDERLINE
public static final EnumChatFormatting ITALIC
public static final EnumChatFormatting RESET
public static EnumChatFormatting[] values()
for (EnumChatFormatting c : EnumChatFormatting.values()) System.out.println(c);
public static EnumChatFormatting valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic char getFormattingCode()
public boolean isFancyStyling()
public boolean isColor()
public java.lang.String getFriendlyName()
public java.lang.String toString()
toString
in class java.lang.Enum<EnumChatFormatting>
public static java.lang.String getTextWithoutFormattingCodes(java.lang.String p_110646_0_)
public static EnumChatFormatting getValueByName(java.lang.String p_96300_0_)
public static java.util.Collection getValidValues(boolean p_96296_0_, boolean p_96296_1_)