Hand
Link to hand
A Hand is an enumeration of the player's two possible hands: main and off
패키지 임포트하기
Link to 패키지-임포트하기
It might be required for you to import the package if you encounter any issues, so better be safe than sorry and add the import.
import mods.contenttweaker.Hand;
Enumerations
Link to enumerations
Hand can be of those two values:
- main
- off
ZenScript Copyimport mods.contenttweaker.Hand;
Hand.off();
Hand.main();
Hand.fromString("off");
Hand.fromString("main");
Uses
Link to uses
A Hand's main use is in a IItemUse Function.
Comparing two Hand objects
Link to comparing-two-hand-objects
You can compare two Hand objects using the ==
getter.
ZenScript CopyHand.main() == Hand.main()