MCEquipmentSlotType

Link to mcequipmentslottype

Diese Klasse importieren

Link to diese-klasse-importieren

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

NameTypeHas GetterHas SetterBeschreibung
Name
CHEST
Type
MCEquipmentSlotType
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
FEET
Type
MCEquipmentSlotType
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
HEAD
Type
MCEquipmentSlotType
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
LEGS
Type
MCEquipmentSlotType
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
MAINHAND
Type
MCEquipmentSlotType
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
OFFHAND
Type
MCEquipmentSlotType
Has Getter
true
Has Setter
false
Beschreibung
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();
NameTypeHas GetterHas SetterBeschreibung
Name
commandString
Type
string
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided
Name
name
Type
string
Has Getter
true
Has Setter
false
Beschreibung
No Description Provided