public enum EnumToolMaterial extends java.lang.Enum<EnumToolMaterial>
Modifier and Type | Method and Description |
---|---|
int |
getDamageVsEntity() |
float |
getEfficiencyOnProperMaterial() |
int |
getHarvestLevel() |
int |
getMaxUses() |
static EnumToolMaterial |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumToolMaterial[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumToolMaterial WOOD
public static final EnumToolMaterial STONE
public static final EnumToolMaterial IRON
public static final EnumToolMaterial EMERALD
public static final EnumToolMaterial GOLD
public static EnumToolMaterial[] values()
for (EnumToolMaterial c : EnumToolMaterial.values()) System.out.println(c);
public static EnumToolMaterial 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 getMaxUses()
public float getEfficiencyOnProperMaterial()
public int getDamageVsEntity()
public int getHarvestLevel()