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