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