Compare commits
3 Commits
d0eab6726d
...
2ea8f09092
| Author | SHA1 | Date | |
|---|---|---|---|
| 2ea8f09092 | |||
| 79e7ea64b4 | |||
| 142ff444ee |
@@ -101,7 +101,7 @@ function ObjectRef:get_inventory() end
|
|||||||
function ObjectRef:get_wield_list() end
|
function ObjectRef:get_wield_list() end
|
||||||
|
|
||||||
--- returns the wield list index of the wielded item (starting with 1)
|
--- returns the wield list index of the wielded item (starting with 1)
|
||||||
--- @return number
|
--- @return integer
|
||||||
function ObjectRef:get_wield_index() end
|
function ObjectRef:get_wield_index() end
|
||||||
|
|
||||||
--- Returns a copy of the wielded item as an `ItemStack`
|
--- Returns a copy of the wielded item as an `ItemStack`
|
||||||
|
|||||||
@@ -15,11 +15,11 @@
|
|||||||
ValueNoise = {}
|
ValueNoise = {}
|
||||||
|
|
||||||
--- Returns 2D noise value at `pos={x=,y=}`
|
--- Returns 2D noise value at `pos={x=,y=}`
|
||||||
--- @param pos IntegerPosition2d
|
--- @param pos Position2d
|
||||||
--- @return number
|
--- @return number
|
||||||
function ValueNoise:get_2d(pos) end
|
function ValueNoise:get_2d(pos) end
|
||||||
|
|
||||||
--- Returns 3D noise value at `pos={x=,y=,z=}`
|
--- Returns 3D noise value at `pos={x=,y=,z=}`
|
||||||
--- @param pos IntegerPosition
|
--- @param pos Position
|
||||||
--- @return number
|
--- @return number
|
||||||
function ValueNoise:get_3d(pos) end
|
function ValueNoise:get_3d(pos) end
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
|
|
||||||
--- @class VoxelManip
|
--- @class VoxelManip
|
||||||
|
--- @overload fun(pos1:MapVector,pos2:MapVector):VoxelManip
|
||||||
VoxelManip = {}
|
VoxelManip = {}
|
||||||
|
|
||||||
--- Loads a chunk of map into the VoxelManip object containing the region formed by `p1` and `p2`.
|
--- Loads a chunk of map into the VoxelManip object containing the region formed by `p1` and `p2`.
|
||||||
|
|||||||
Reference in New Issue
Block a user