IDE hinting: add MetaDataRef & all it inheritors
This commit is contained in:
9
classes/MetaDataRef/ItemStackMetaRef.lua
Normal file
9
classes/MetaDataRef/ItemStackMetaRef.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
--- 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
|
||||
Reference in New Issue
Block a user