Expansion for IItemStack
Link to expansion-for-iitemstack
Metodi
Link to metodi
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
Parametro | Tipo | Descrizione |
---|---|---|
Parametro action | Tipo ToolAction | Descrizione The action to perform. |