| Enum Constant and Description |
|---|
CERAMIC |
FLESH |
FOLIAGE |
PLASTIC |
STEEL |
STONE |
UNDEFINED |
WOOD |
| Modifier and Type | Method and Description |
|---|---|
static Material |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Material[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Material CERAMIC
public static final Material FLESH
public static final Material FOLIAGE
public static final Material PLASTIC
public static final Material STEEL
public static final Material STONE
public static final Material UNDEFINED
public static final Material WOOD
public static Material[] values()
for (Material c : Material.values()) System.out.println(c);
public static Material 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 null