public enum AllArmorMaterials extends java.lang.Enum<AllArmorMaterials> implements net.minecraft.item.IArmorMaterial
| Enum Constant and Description |
|---|
COPPER |
| Modifier and Type | Method and Description |
|---|---|
int |
getDefenseForSlot(net.minecraft.inventory.EquipmentSlotType p_200902_1_) |
int |
getDurabilityForSlot(net.minecraft.inventory.EquipmentSlotType p_200896_1_) |
int |
getEnchantmentValue() |
net.minecraft.util.SoundEvent |
getEquipSound() |
float |
getKnockbackResistance() |
java.lang.String |
getName() |
net.minecraft.item.crafting.Ingredient |
getRepairIngredient() |
float |
getToughness() |
static AllArmorMaterials |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AllArmorMaterials[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllArmorMaterials COPPER
public static AllArmorMaterials[] values()
for (AllArmorMaterials c : AllArmorMaterials.values()) System.out.println(c);
public static AllArmorMaterials 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 getDurabilityForSlot(net.minecraft.inventory.EquipmentSlotType p_200896_1_)
getDurabilityForSlot in interface net.minecraft.item.IArmorMaterialpublic int getDefenseForSlot(net.minecraft.inventory.EquipmentSlotType p_200902_1_)
getDefenseForSlot in interface net.minecraft.item.IArmorMaterialpublic int getEnchantmentValue()
getEnchantmentValue in interface net.minecraft.item.IArmorMaterialpublic net.minecraft.util.SoundEvent getEquipSound()
getEquipSound in interface net.minecraft.item.IArmorMaterialpublic net.minecraft.item.crafting.Ingredient getRepairIngredient()
getRepairIngredient in interface net.minecraft.item.IArmorMaterialpublic java.lang.String getName()
getName in interface net.minecraft.item.IArmorMaterialpublic float getToughness()
getToughness in interface net.minecraft.item.IArmorMaterialpublic float getKnockbackResistance()
getKnockbackResistance in interface net.minecraft.item.IArmorMaterial