public static enum BossInfo.Color extends java.lang.Enum<BossInfo.Color>
Enum Constant and Description |
---|
BLUE |
GREEN |
PINK |
PURPLE |
RED |
WHITE |
YELLOW |
Modifier and Type | Field and Description |
---|---|
private TextFormatting |
formatting |
private java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
static BossInfo.Color |
byName(java.lang.String p_201481_0_) |
TextFormatting |
getFormatting() |
java.lang.String |
getName() |
static BossInfo.Color |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BossInfo.Color[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BossInfo.Color PINK
public static final BossInfo.Color BLUE
public static final BossInfo.Color RED
public static final BossInfo.Color GREEN
public static final BossInfo.Color YELLOW
public static final BossInfo.Color PURPLE
public static final BossInfo.Color WHITE
private final java.lang.String name
private final TextFormatting formatting
public static BossInfo.Color[] values()
for (BossInfo.Color c : BossInfo.Color.values()) System.out.println(c);
public static BossInfo.Color 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 TextFormatting getFormatting()
public java.lang.String getName()
public static BossInfo.Color byName(java.lang.String p_201481_0_)