Expansion for IItemStack

Methods

Checks if this item can perform the given ToolAction.

Returns: True if it can perform the action, false otherwise.
Return Type: boolean

script.zs
IItemStack.canPerformAction(action as ToolAction) as boolean
ParameterTypeDescription
Parameter
action
Type
ToolAction
Description
The action to perform.