LeftClickBlockEventAction

Importing the class

If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.

script.zs
import crafttweaker.neoforge.api.event.interact.LeftClickBlockEventAction;

Implements

Undocumented Interfaces

Comparable<Enum>

Enum Constants

LeftClickBlockEventAction is an enum with 4 constants. They are accessible like so:

script.zs
// LeftClickBlockEventAction.ABORT
<constant:neoforge:events/leftclickblock/action:abort>
// LeftClickBlockEventAction.CLIENT_HOLD
<constant:neoforge:events/leftclickblock/action:client_hold>
// LeftClickBlockEventAction.START
<constant:neoforge:events/leftclickblock/action:start>
// LeftClickBlockEventAction.STOP
<constant:neoforge:events/leftclickblock/action:stop>