Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers

ActionResult

An ActionResult is an enumeration of a IItemUse Function’s possible results.

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

Enumerations

Facing can be of those three values:

  • fail
  • pass
  • success

Uses

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