diff options
Diffstat (limited to '')
-rw-r--r-- | Server/Plugins/APIDump/Classes/BlockEntities.lua | 10 | ||||
-rw-r--r-- | Server/Plugins/APIDump/Classes/Geometry.lua | 216 |
2 files changed, 226 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/Classes/BlockEntities.lua b/Server/Plugins/APIDump/Classes/BlockEntities.lua index bcdba0d0f..f4486c6d3 100644 --- a/Server/Plugins/APIDump/Classes/BlockEntities.lua +++ b/Server/Plugins/APIDump/Classes/BlockEntities.lua @@ -275,6 +275,16 @@ return }, Notes = "Returns the block Z-coord of the block entity's block", }, + GetRelPos = + { + Returns = + { + { + Type = "Vector3i", + }, + }, + Notes = "Returns the relative coords of the block entity's block within its chunk", + }, GetRelX = { Returns = diff --git a/Server/Plugins/APIDump/Classes/Geometry.lua b/Server/Plugins/APIDump/Classes/Geometry.lua index def786685..aa70f4c67 100644 --- a/Server/Plugins/APIDump/Classes/Geometry.lua +++ b/Server/Plugins/APIDump/Classes/Geometry.lua @@ -1150,6 +1150,78 @@ end { Notes = "<b>OBSOLETE</b>, use Abs() instead.", }, + addedX = + { + Params = + { + { + Name = "ofs", + Type = "number", + }, + }, + Returns = + { + { + Type = "Vector3d", + }, + }, + Notes = "Returns a copy of the vector, moved by the specified offset on the X axis", + }, + addedXZ = + { + Params = + { + { + Name = "ofsX", + Type = "number", + }, + { + Name = "ofsZ", + Type = "number", + }, + }, + Returns = + { + { + Type = "Vector3d", + }, + }, + Notes = "Returns a copy of the vector, moved by the specified offsets on the X and Z axes", + }, + addedY = + { + Params = + { + { + Name = "ofs", + Type = "number", + }, + }, + Returns = + { + { + Type = "Vector3d", + }, + }, + Notes = "Returns a copy of the vector, moved by the specified offset on the Y axis", + }, + addedZ = + { + Params = + { + { + Name = "ofs", + Type = "number", + }, + }, + Returns = + { + { + Type = "Vector3d", + }, + }, + Notes = "Returns a copy of the vector, moved by the specified offset on the Z axis", + }, Clamp = { Params = @@ -1643,6 +1715,78 @@ end { Notes = "<b>OBSOLETE</b>, use Abs() instead.", }, + addedX = + { + Params = + { + { + Name = "ofs", + Type = "number", + }, + }, + Returns = + { + { + Type = "Vector3f", + }, + }, + Notes = "Returns a copy of the vector, moved by the specified offset on the X axis", + }, + addedXZ = + { + Params = + { + { + Name = "ofsX", + Type = "number", + }, + { + Name = "ofsZ", + Type = "number", + }, + }, + Returns = + { + { + Type = "Vector3f", + }, + }, + Notes = "Returns a copy of the vector, moved by the specified offsets on the X and Z axes", + }, + addedY = + { + Params = + { + { + Name = "ofs", + Type = "number", + }, + }, + Returns = + { + { + Type = "Vector3f", + }, + }, + Notes = "Returns a copy of the vector, moved by the specified offset on the Y axis", + }, + addedZ = + { + Params = + { + { + Name = "ofs", + Type = "number", + }, + }, + Returns = + { + { + Type = "Vector3f", + }, + }, + Notes = "Returns a copy of the vector, moved by the specified offset on the Z axis", + }, Clamp = { Params = @@ -2168,6 +2312,78 @@ end { Notes = "<b>OBSOLETE</b>, use Abs() instead.", }, + addedX = + { + Params = + { + { + Name = "ofs", + Type = "number", + }, + }, + Returns = + { + { + Type = "Vector3i", + }, + }, + Notes = "Returns a copy of the vector, moved by the specified offset on the X axis", + }, + addedXZ = + { + Params = + { + { + Name = "ofsX", + Type = "number", + }, + { + Name = "ofsZ", + Type = "number", + }, + }, + Returns = + { + { + Type = "Vector3i", + }, + }, + Notes = "Returns a copy of the vector, moved by the specified offsets on the X and Z axes", + }, + addedY = + { + Params = + { + { + Name = "ofs", + Type = "number", + }, + }, + Returns = + { + { + Type = "Vector3i", + }, + }, + Notes = "Returns a copy of the vector, moved by the specified offset on the Y axis", + }, + addedZ = + { + Params = + { + { + Name = "ofs", + Type = "number", + }, + }, + Returns = + { + { + Type = "Vector3i", + }, + }, + Notes = "Returns a copy of the vector, moved by the specified offset on the Z axis", + }, Clamp = { Params = |