MCEquipmentSlotType

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>

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

Static Properties

NameTypeHas GetterHas SetterBeschreibung
CHESTMCEquipmentSlotTypetruefalseNo Description Provided
FEETMCEquipmentSlotTypetruefalseNo Description Provided
HEADMCEquipmentSlotTypetruefalseNo Description Provided
LEGSMCEquipmentSlotTypetruefalseNo Description Provided
MAINHANDMCEquipmentSlotTypetruefalseNo Description Provided
OFFHANDMCEquipmentSlotTypetruefalseNo Description Provided

Methoden

isArmor

Return Type: boolean

ZenScript
Copy
// MCEquipmentSlotType.isArmor() as boolean

myMCEquipmentSlotType.isArmor();
isHand

Return Type: boolean

ZenScript
Copy
// MCEquipmentSlotType.isHand() as boolean

myMCEquipmentSlotType.isHand();

Properties

NameTypeHas GetterHas SetterBeschreibung
commandStringstringtruefalseNo Description Provided
namestringtruefalseNo Description Provided