ItemStack get_tool_capabilities - Uberi/MineTest-API GitHub Wiki

ItemStack:get_tool_capabilities

Description

returns the digging properties of the item, or those of the hand if none are defined for this item type

Syntax

[tool_capabilities](../type/tool_capabilities.html) get_tool_capabilities()

Examples

local capabilities = stack:get_tool_capabilities()
⚠️ **GitHub.com Fallback** ⚠️