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.
import crafttweaker.api.capability.IFluidHandlerAction;
Implements
Undocumented Interfaces
Comparable<Enum>
Enum Constants
IFluidHandlerAction is an enum with 2 constants. They are accessible like so:
// IFluidHandlerAction.EXECUTE<constant:forge:fluid_action:execute>// IFluidHandlerAction.SIMULATE<constant:forge:fluid_action:simulate>
Members
Getter
If the action should execute.script.zs
// FluidAction.execute as bool<constant:forge:fluid_action:execute>.execute
Return Type:
bool
execute() as bool
If the action should execute.script.zs
Returns: true if the action should execute, false otherwise.
// FluidAction.execute() as bool;<constant:forge:fluid_action:execute>.execute();
Return Type:
bool
Getter
If the action should simulate.script.zs
// FluidAction.simulate as bool<constant:forge:fluid_action:execute>.simulate
Return Type:
bool
simulate() as bool
If the action should simulate.script.zs
Returns: true if the action should simulate, false otherwise.
// FluidAction.simulate() as bool;<constant:forge:fluid_action:execute>.simulate();
Return Type:
bool