A Hand is an enumeration of the player’s two possible hands: main and off

Importing the package

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;


Hand can be of those two values:


A Hand’s main use is in a IItemUse Function.

Comparing two Hand objects

You can compare two Hand objects using the == getter.

Hand.main() == Hand.main()