java.io.Serializable
, java.lang.Comparable<RawMaterial.ResourceFlag>
public static enum RawMaterial.ResourceFlag extends java.lang.Enum<RawMaterial.ResourceFlag>
Modifier and Type | Field | Description |
---|---|---|
java.lang.String[] |
altNames |
Modifier and Type | Method | Description |
---|---|---|
static RawMaterial.ResourceFlag |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static RawMaterial.ResourceFlag[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RawMaterial.ResourceFlag BERRY
public static final RawMaterial.ResourceFlag FISH
public static final RawMaterial.ResourceFlag WOODY
public static RawMaterial.ResourceFlag[] values()
for (RawMaterial.ResourceFlag c : RawMaterial.ResourceFlag.values()) System.out.println(c);
public static RawMaterial.ResourceFlag 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