12 lines
402 B
Lua
12 lines
402 B
Lua
--- @meta
|
|
|
|
--- ItemStack metadata: reference extra data and functionality stored in a stack.
|
|
--- Can be obtained via `item:get_meta()`.
|
|
---
|
|
--- @class ItemStackMetaRef: MetaDataRef
|
|
ItemStackMetaRef = {}
|
|
|
|
--- * Overrides the item's tool capabilities
|
|
--- * A nil value will clear the override data and restore the original behavior.
|
|
function ItemStackMetaRef:set_tool_capabilities(tool_capabilities) end
|