summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/Classes/BlockArea.lua
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2017-07-22 19:56:56 +0200
committerMattes D <github@xoft.cz>2017-07-22 19:57:25 +0200
commit64561175abfd97c0f05a95ca201b6c5aeb4ad412 (patch)
treed480aa7a68561e3d46f5f6e313b54f954794eceb /Server/Plugins/APIDump/Classes/BlockArea.lua
parentMerge pull request #3866 from lkolbly/mergeBlockEntitiesFix (diff)
downloadcuberite-64561175abfd97c0f05a95ca201b6c5aeb4ad412.tar
cuberite-64561175abfd97c0f05a95ca201b6c5aeb4ad412.tar.gz
cuberite-64561175abfd97c0f05a95ca201b6c5aeb4ad412.tar.bz2
cuberite-64561175abfd97c0f05a95ca201b6c5aeb4ad412.tar.lz
cuberite-64561175abfd97c0f05a95ca201b6c5aeb4ad412.tar.xz
cuberite-64561175abfd97c0f05a95ca201b6c5aeb4ad412.tar.zst
cuberite-64561175abfd97c0f05a95ca201b6c5aeb4ad412.zip
Diffstat (limited to '')
-rw-r--r--Server/Plugins/APIDump/Classes/BlockArea.lua17
1 files changed, 15 insertions, 2 deletions
diff --git a/Server/Plugins/APIDump/Classes/BlockArea.lua b/Server/Plugins/APIDump/Classes/BlockArea.lua
index e513a0094..c72cdff31 100644
--- a/Server/Plugins/APIDump/Classes/BlockArea.lua
+++ b/Server/Plugins/APIDump/Classes/BlockArea.lua
@@ -638,17 +638,30 @@ return
Returns =
{
{
- Name = "BLOCKTYPE",
+ Name = "BlockType",
Type = "number",
},
{
- Name = "NIBBLETYPE",
+ Name = "BlockMeta",
Type = "number",
},
},
Notes = "Returns the block type and meta at the specified absolute coords",
},
+ GetBounds =
+ {
+ Params = {},
+ Returns =
+ {
+ {
+ Name = "Bounds",
+ Type = "cCuboid",
+ }
+ },
+ Notes = "Returns the {{cCuboid|cuboid}} that specifies the original coords of the world from which the area was read. Basically constructs a {{cCuboid}} out of GetOrigin() and GetOrigin() + GetCoordRange().",
+ },
+
GetCoordRange =
{
Returns =