public static enum Material.Black extends java.lang.Enum<Material.Black> implements IColor
| Enum Constant and Description |
|---|
_1000 |
| Modifier and Type | Method and Description |
|---|---|
int |
getAsColor() |
int |
getAsResource() |
java.lang.String |
getAsString() |
static Material.Black |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Material.Black[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Material.Black _1000
public static Material.Black[] values()
for (Material.Black c : Material.Black.values()) System.out.println(c);
public static Material.Black 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 java.lang.String getAsString()
getAsString in interface IColorpublic int getAsColor()
getAsColor in interface IColorpublic int getAsResource()
getAsResource in interface IColor