MCHand

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.MCHand;

Extending Enum<MCHand>

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

Static Properties

이름TypeHas GetterHas SetterDescription
MAIN_HANDMCHandtruefalseNo Description Provided
OFF_HANDMCHandtruefalseNo Description Provided

Casters

반환 자료형암묵적
MCEquipmentSlotTypetrue
stringtrue