summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump
diff options
context:
space:
mode:
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 =