ArmorItem
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.ArmorItem;
Extends
ArmorItem extends ItemDefinition
.
Implements
ArmorItem
implements the following interfaces:
Undocumented Interfaces
FeatureElement
,IForgeItem
Members
asItem() as Item
as Item
// ArmorItem as ItemDefinitionmyArmorItem as Item
Return Type:
ItemDefinition
Getter
// ArmorItem.commandString as stringmyArmorItem.commandString
Return Type:
string
commandString() as string
// ArmorItem.commandString() as string;myArmorItem.commandString();
Return Type:
string
Getter
// ArmorItem.defaultInstance as IItemStackmyArmorItem.defaultInstance
Return Type:
IItemStack
defaultInstance() as IItemStack
implicit as IItemStack
// ArmorItem as IItemStackmyArmorItem as IItemStack
Return Type:
IItemStack
Getter
// ArmorItem.defense as intmyArmorItem.defense
Return Type:
int
Getter
// ArmorItem.equipmentSlot as EquipmentSlotmyArmorItem.equipmentSlot
Return Type:
EquipmentSlot
Getter
// ArmorItem.equipSound as SoundEventmyArmorItem.equipSound
Return Type:
SoundEvent
Getter
// ArmorItem.material as ArmorMaterialmyArmorItem.material
Return Type:
ArmorMaterial
Getter
// ArmorItem.registryName as ResourceLocationmyArmorItem.registryName
Return Type:
ResourceLocation
registryName() as ResourceLocation
Getter
// ArmorItem.toughness as floatmyArmorItem.toughness
Return Type:
float