summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-04-30 23:16:33 +0200
committerMattes D <github@xoft.cz>2015-04-30 23:16:33 +0200
commita3c4b7580b1f5e0ac6aa74ba8c702359d32eda27 (patch)
treebcb6ff9fc661b0fc1d8ad492f12c874227b4d949 /MCServer/Plugins
parentMerge pull request #1923 from mc-server/ReadWholeFileFix (diff)
downloadcuberite-a3c4b7580b1f5e0ac6aa74ba8c702359d32eda27.tar
cuberite-a3c4b7580b1f5e0ac6aa74ba8c702359d32eda27.tar.gz
cuberite-a3c4b7580b1f5e0ac6aa74ba8c702359d32eda27.tar.bz2
cuberite-a3c4b7580b1f5e0ac6aa74ba8c702359d32eda27.tar.lz
cuberite-a3c4b7580b1f5e0ac6aa74ba8c702359d32eda27.tar.xz
cuberite-a3c4b7580b1f5e0ac6aa74ba8c702359d32eda27.tar.zst
cuberite-a3c4b7580b1f5e0ac6aa74ba8c702359d32eda27.zip
Diffstat (limited to '')
-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 7c9a2e0cb..7c0a8e818 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -99,6 +99,7 @@ g_APIDesc =
Clear = { Params = "", Return = "", Notes = "Clears the object, resets it to zero size" },
CopyFrom = { Params = "BlockAreaSrc", Return = "", Notes = "Copies contents from BlockAreaSrc into self" },
CopyTo = { Params = "BlockAreaDst", Return = "", Notes = "Copies contents from self into BlockAreaDst." },
+ CountNonAirBlocks = { Params = "", Return = "number", Notes = "Returns the count of blocks that are not air. Returns 0 if blocktypes not available. Block metas are ignored (if present, air with any meta is still considered air)." },
Create = { Params = "SizeX, SizeY, SizeZ, [DataTypes]", Return = "", Notes = "Initializes this BlockArea to an empty area of the specified size and origin of {0, 0, 0}. Any previous contents are lost." },
Crop = { Params = "AddMinX, SubMaxX, AddMinY, SubMaxY, AddMinZ, SubMaxZ", Return = "", Notes = "Crops the specified number of blocks from each border. Modifies the size of this blockarea object." },
DumpToRawFile = { Params = "FileName", Return = "", Notes = "Dumps the raw data into a file. For debugging purposes only." },