ArmorItemType
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.Type;
Implements
Undocumented Interfaces
Comparable<Enum>
Enum Constants
ArmorItemType is an enum with 4 constants. They are accessible like so:
// ArmorItemType.BOOTS<constant:minecraft:armor/type:boots>// ArmorItemType.CHESTPLATE<constant:minecraft:armor/type:chestplate>// ArmorItemType.HELMET<constant:minecraft:armor/type:helmet>// ArmorItemType.LEGGINGS<constant:minecraft:armor/type:leggings>
Members
Getter
// Type.name as string<constant:minecraft:armor/type:boots>.name
Return Type:
string
Getter
// Type.slot as EquipmentSlot<constant:minecraft:armor/type:boots>.slot
Return Type:
EquipmentSlot