EquipmentSlotType
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.entity.equipment.EquipmentSlotType;
Implements
Undocumented Interfaces
Comparable<Enum>
Enum Constants
EquipmentSlotType is an enum with 2 constants. They are accessible like so:
// EquipmentSlotType.ARMOR<constant:minecraft:equipmentslot/type:armor>// EquipmentSlotType.HAND<constant:minecraft:equipmentslot/type:hand>
Members
Getter
// Type.commandString as string<constant:minecraft:equipmentslot/type:armor>.commandString
Return Type:
string
commandString() as string
// Type.commandString() as string;<constant:minecraft:equipmentslot/type:armor>.commandString();
Return Type:
string