1
0

BlockArea: Added the GetBounds function.

This commit is contained in:
Mattes D
2017-07-22 19:56:56 +02:00
parent 51c6606fd4
commit 64561175ab
3 changed files with 33 additions and 4 deletions

View File

@@ -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 =