summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-04-30 09:53:10 +0200
committerMattes D <github@xoft.cz>2015-04-30 09:53:10 +0200
commitdaacbf4d7b32aed59dbee7ec13b61a4ea5b3f596 (patch)
treeaea8d8b9e15cdacbb01aee2139d427f16bf05aeb /MCServer/Plugins/APIDump
parentAdded cBlockArea::msSimpleCompare merge strategy. (diff)
downloadcuberite-daacbf4d7b32aed59dbee7ec13b61a4ea5b3f596.tar
cuberite-daacbf4d7b32aed59dbee7ec13b61a4ea5b3f596.tar.gz
cuberite-daacbf4d7b32aed59dbee7ec13b61a4ea5b3f596.tar.bz2
cuberite-daacbf4d7b32aed59dbee7ec13b61a4ea5b3f596.tar.lz
cuberite-daacbf4d7b32aed59dbee7ec13b61a4ea5b3f596.tar.xz
cuberite-daacbf4d7b32aed59dbee7ec13b61a4ea5b3f596.tar.zst
cuberite-daacbf4d7b32aed59dbee7ec13b61a4ea5b3f596.zip
Diffstat (limited to 'MCServer/Plugins/APIDump')
-rw-r--r--MCServer/Plugins/APIDump/APIDesc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua
index 4f6a499df..7c9a2e0cb 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -120,6 +120,7 @@ g_APIDesc =
GetOriginX = { Params = "", Return = "number", Notes = "Returns the origin x-coord" },
GetOriginY = { Params = "", Return = "number", Notes = "Returns the origin y-coord" },
GetOriginZ = { Params = "", Return = "number", Notes = "Returns the origin z-coord" },
+ GetNonAirCropRelCoords = { Params = "[IgnoreBlockType]", Return = "MinRelX, MinRelY, MinRelZ, MaxRelX, MaxRelY, MaxRelZ", Notes = "Returns the minimum and maximum coords in each direction for the first non-ignored block in each direction. If there are no non-ignored blocks within the area, or blocktypes are not present, the returned values are reverse-ranges (MinX <- m_RangeX, MaxX <- 0 etc.). IgnoreBlockType defaults to air." },
GetRelBlockLight = { Params = "RelBlockX, RelBlockY, RelBlockZ", Return = "NIBBLETYPE", Notes = "Returns the blocklight at the specified relative coords" },
GetRelBlockMeta = { Params = "RelBlockX, RelBlockY, RelBlockZ", Return = "NIBBLETYPE", Notes = "Returns the block meta at the specified relative coords" },
GetRelBlockSkyLight = { Params = "RelBlockX, RelBlockY, RelBlockZ", Return = "NIBBLETYPE", Notes = "Returns the skylight at the specified relative coords" },