Add @meta for all files. Mark couple params as optional.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
--- @diagnostic disable: missing-return
|
||||
--- @meta
|
||||
|
||||
|
||||
--- `AreaStore` is a data structure to calculate intersections of 3D cuboid volumes and points.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--- @diagnostic disable: missing-return
|
||||
--- @meta
|
||||
|
||||
|
||||
--- @class HTTPRequestHandle
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--- @diagnostic disable: missing-return
|
||||
--- @meta
|
||||
|
||||
|
||||
--- @class InvRef
|
||||
|
||||
@@ -100,7 +100,7 @@ function ItemStack:peek_item(count) end
|
||||
function ItemStack:replace(item) end
|
||||
|
||||
--- Take (and remove) up to n items from this stack; returns taken ItemStack; if n is omitted, n=1 is used
|
||||
--- @param count number
|
||||
--- @param count? number
|
||||
--- @return ItemStack
|
||||
function ItemStack:take_item(count) end
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
--- @meta
|
||||
|
||||
|
||||
--- @class LuaEntity
|
||||
--- @field name string
|
||||
--- @field object Entity
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--- @diagnostic disable: missing-return
|
||||
--- @meta
|
||||
|
||||
|
||||
--- Base class used by [`StorageRef`], [`NodeMetaRef`], [`ItemStackMetaRef`],
|
||||
|
||||
@@ -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.
|
||||
---
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--- @diagnostic disable: missing-return
|
||||
--- @meta
|
||||
|
||||
|
||||
--- Node Timers: a high resolution persistent per-node timer.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--- @diagnostic disable: missing-return
|
||||
--- @meta
|
||||
|
||||
|
||||
--- @class ObjectRef
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
--- @diagnostic disable: missing-return
|
||||
--- @meta
|
||||
|
||||
|
||||
--- A value noise generator. It can be created via ValueNoise() or core.get_value_noise().
|
||||
--- For core.get_value_noise(), the actual seed used is the noiseparams seed plus the world
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
--- @diagnostic disable: missing-return
|
||||
--- @meta
|
||||
|
||||
|
||||
--- A fast, bulk noise generator.
|
||||
---
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--- @diagnostic disable: missing-return
|
||||
--- @meta
|
||||
|
||||
|
||||
--- @class VoxelArea
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--- @diagnostic disable: missing-return
|
||||
--- @meta
|
||||
|
||||
|
||||
--- @class VoxelManip
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
--- @diagnostic disable: missing-return
|
||||
--- @meta
|
||||
|
||||
|
||||
--- @class vector: Position
|
||||
--- @operator eq : boolean
|
||||
|
||||
Reference in New Issue
Block a user