Expansion for IItemStack
Link to expansion-for-iitemstack
使用方式
Link to 使用方式
Name: canPerformAction
Checks if this item can perform the given ToolAction.
Returns: True if it can perform the action, false otherwise.
Return Type: boolean
ZenScript CopyIItemStack.canPerformAction(action as ToolAction) as boolean
参数 | 类型 | 描述 |
---|---|---|
参数 action | 类型 ToolAction | 描述 The action to perform. |