summaryrefslogtreecommitdiffstats
path: root/Server/Plugins
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2019-09-29 14:59:24 +0200
committerGitHub <noreply@github.com>2019-09-29 14:59:24 +0200
commit365cbc6e1cea96741e26c9ce912b003f8fd2c62c (patch)
treef23682c47928597791c53f3a300b03494ffde417 /Server/Plugins
parentCactus can now grow and will be dropped if there is no place to grow. (diff)
downloadcuberite-365cbc6e1cea96741e26c9ce912b003f8fd2c62c.tar
cuberite-365cbc6e1cea96741e26c9ce912b003f8fd2c62c.tar.gz
cuberite-365cbc6e1cea96741e26c9ce912b003f8fd2c62c.tar.bz2
cuberite-365cbc6e1cea96741e26c9ce912b003f8fd2c62c.tar.lz
cuberite-365cbc6e1cea96741e26c9ce912b003f8fd2c62c.tar.xz
cuberite-365cbc6e1cea96741e26c9ce912b003f8fd2c62c.tar.zst
cuberite-365cbc6e1cea96741e26c9ce912b003f8fd2c62c.zip
Diffstat (limited to 'Server/Plugins')
-rw-r--r--Server/Plugins/APIDump/Classes/BlockEntities.lua10
-rw-r--r--Server/Plugins/APIDump/Classes/Geometry.lua216
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 =