ArmorMaterial
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.item.type.armor.ArmorMaterial;
Members
Getter
// ArmorMaterial.enchantmentValue as intmyArmorMaterial.enchantmentValue
Return Type:
int
enchantmentValue() as int
// ArmorMaterial.enchantmentValue() as int;myArmorMaterial.enchantmentValue();
Return Type:
int
Getter
// ArmorMaterial.equipSound as SoundEventmyArmorMaterial.equipSound
Return Type:
SoundEvent
equipSound() as SoundEvent
Getter
// ArmorMaterial.knockbackResistance as floatmyArmorMaterial.knockbackResistance
Return Type:
float
knockbackResistance() as float
// ArmorMaterial.knockbackResistance() as float;myArmorMaterial.knockbackResistance();
Return Type:
float
Getter
// ArmorMaterial.registryName as ResourceLocationmyArmorMaterial.registryName
Return Type:
ResourceLocation
Getter
// ArmorMaterial.repairIngredient as IIngredientmyArmorMaterial.repairIngredient
Return Type:
IIngredient
repairIngredient() as IIngredient
Getter
// ArmorMaterial.toughness as floatmyArmorMaterial.toughness
Return Type:
float
toughness() as float
// ArmorMaterial.toughness() as float;myArmorMaterial.toughness();
Return Type:
float