Add @meta for all files. Mark couple params as optional.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
--- @meta
|
||||
|
||||
--- ItemStack metadata: reference extra data and functionality stored in a stack.
|
||||
--- Can be obtained via `item:get_meta()`.
|
||||
---
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--- @diagnostic disable: missing-return
|
||||
--- @meta
|
||||
|
||||
|
||||
--- Node metadata: reference extra data and functionality stored in a node.
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
--- @meta
|
||||
|
||||
|
||||
--- Player metadata.
|
||||
--- Uses the same method of storage as the deprecated player attribute API, so
|
||||
--- data there will also be in player meta.
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
--- @meta
|
||||
|
||||
|
||||
--- Mod metadata: per mod metadata, saved automatically.
|
||||
--- Can be obtained via `core.get_mod_storage()` during load time.
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user