sm.item.getStackSize
Return the stack size for the item. Returns the default stack size of 1 if the item is not found or is a Tool.
Kind: Function
Environments: Game
Game
sm.item.getStackSize( uuid )
Parameters:
| Name | Type | Description |
|---|---|---|
uuid |
Uuid | The item uuid. |
Returns:
| Type | Description |
|---|---|
| integer | The stack size. |