public static enum ItemArmor.ArmorMaterial extends java.lang.Enum<ItemArmor.ArmorMaterial>
Modifier and Type | Field and Description |
---|---|
Item |
customCraftingMaterial |
Modifier and Type | Method and Description |
---|---|
Item |
func_151685_b() |
int |
getDamageReductionAmount(int p_78044_1_) |
int |
getDurability(int p_78046_1_) |
int |
getEnchantability() |
static ItemArmor.ArmorMaterial |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemArmor.ArmorMaterial[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemArmor.ArmorMaterial CLOTH
public static final ItemArmor.ArmorMaterial CHAIN
public static final ItemArmor.ArmorMaterial IRON
public static final ItemArmor.ArmorMaterial GOLD
public static final ItemArmor.ArmorMaterial DIAMOND
public Item customCraftingMaterial
public static ItemArmor.ArmorMaterial[] values()
for (ItemArmor.ArmorMaterial c : ItemArmor.ArmorMaterial.values()) System.out.println(c);
public static ItemArmor.ArmorMaterial 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 getDurability(int p_78046_1_)
public int getDamageReductionAmount(int p_78044_1_)
public int getEnchantability()
public Item func_151685_b()