IFluidHandlerAction

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.api.capability.IFluidHandlerAction;

Implements

Undocumented Interfaces

Comparable<Enum>

Enum Constants

IFluidHandlerAction is an enum with 2 constants. They are accessible like so:

script.zs
// IFluidHandlerAction.EXECUTE
<constant:neoforge:fluid_action:execute>
// IFluidHandlerAction.SIMULATE
<constant:neoforge:fluid_action:simulate>

Members

Getter
If the action should execute.
script.zs
// FluidAction.execute as bool
<constant:neoforge:fluid_action:execute>.execute

Return Type: bool

Getter
If the action should simulate.
script.zs
// FluidAction.simulate as bool
<constant:neoforge:fluid_action:execute>.simulate

Return Type: bool