MCEquipmentSlotType

Link to mcequipmentslottype

Importing the class

Link to importing-the-class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import crafttweaker.api.util.MCEquipmentSlotType;

Extending Enum<MCEquipmentSlotType>

Link to extending-enummcequipmentslottype

MCEquipmentSlotType extends Enum<MCEquipmentSlotType>. That means all methods available in Enum<MCEquipmentSlotType> are also available in MCEquipmentSlotType

Static Properties

Link to static-properties

이름TypeHas GetterHas SetterDescription
이름
CHEST
Type
MCEquipmentSlotType
Has Getter
true
Has Setter
false
Description
No Description Provided
이름
FEET
Type
MCEquipmentSlotType
Has Getter
true
Has Setter
false
Description
No Description Provided
이름
HEAD
Type
MCEquipmentSlotType
Has Getter
true
Has Setter
false
Description
No Description Provided
이름
LEGS
Type
MCEquipmentSlotType
Has Getter
true
Has Setter
false
Description
No Description Provided
이름
MAINHAND
Type
MCEquipmentSlotType
Has Getter
true
Has Setter
false
Description
No Description Provided
이름
OFFHAND
Type
MCEquipmentSlotType
Has Getter
true
Has Setter
false
Description
No Description Provided

Name: isArmor

Return Type: boolean

ZenScript
Copy
// MCEquipmentSlotType.isArmor() as boolean

myMCEquipmentSlotType.isArmor();

Name: isHand

Return Type: boolean

ZenScript
Copy
// MCEquipmentSlotType.isHand() as boolean

myMCEquipmentSlotType.isHand();
이름TypeHas GetterHas SetterDescription
이름
commandString
Type
string
Has Getter
true
Has Setter
false
Description
No Description Provided
이름
name
Type
string
Has Getter
true
Has Setter
false
Description
No Description Provided