public enum EnumResourceType extends java.lang.Enum<EnumResourceType> implements net.minecraft.util.IStringSerializable
| Modifier and Type | Field and Description |
|---|---|
static EnumResourceType[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
int |
getMeta() |
java.lang.String |
getName() |
boolean |
hasOre() |
static EnumResourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumResourceType APATITE
public static final EnumResourceType COPPER
public static final EnumResourceType TIN
public static final EnumResourceType BRONZE
public static final EnumResourceType[] VALUES
public static EnumResourceType[] values()
for (EnumResourceType c : EnumResourceType.values()) System.out.println(c);
public static EnumResourceType 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 int getMeta()
public boolean hasOre()
public java.lang.String getName()
getName in interface net.minecraft.util.IStringSerializable