Expansion for IItemStack
Link to expansion-for-iitemstack
Methoden
Link to methoden
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
Parameter | Type | Beschreibung |
---|---|---|
Parameter action | Type ToolAction | Beschreibung The action to perform. |