diff options
author | Lukas Pioch <lukas@zgow.de> | 2017-06-26 09:02:06 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2017-06-26 09:02:06 +0200 |
commit | 9c25520b6981b5a30274c8f21ee44735eb6e201b (patch) | |
tree | e0d483a0fa6f3dfcd8a7b59e575037d196056583 /Server/Plugins/APIDump/Classes | |
parent | Added check if datatype is present in block area (#3811) (diff) | |
download | cuberite-9c25520b6981b5a30274c8f21ee44735eb6e201b.tar cuberite-9c25520b6981b5a30274c8f21ee44735eb6e201b.tar.gz cuberite-9c25520b6981b5a30274c8f21ee44735eb6e201b.tar.bz2 cuberite-9c25520b6981b5a30274c8f21ee44735eb6e201b.tar.lz cuberite-9c25520b6981b5a30274c8f21ee44735eb6e201b.tar.xz cuberite-9c25520b6981b5a30274c8f21ee44735eb6e201b.tar.zst cuberite-9c25520b6981b5a30274c8f21ee44735eb6e201b.zip |
Diffstat (limited to 'Server/Plugins/APIDump/Classes')
-rw-r--r-- | Server/Plugins/APIDump/Classes/BlockArea.lua | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/Server/Plugins/APIDump/Classes/BlockArea.lua b/Server/Plugins/APIDump/Classes/BlockArea.lua index af6422aa5..e513a0094 100644 --- a/Server/Plugins/APIDump/Classes/BlockArea.lua +++ b/Server/Plugins/APIDump/Classes/BlockArea.lua @@ -162,7 +162,7 @@ return }, { Name = "DataTypes", - Type = "string", + Type = "number", }, }, Notes = "Initializes this BlockArea to an empty area of the specified size and origin of {0, 0, 0}. Any previous contents are lost.", @@ -186,7 +186,7 @@ return }, { Name = "DataTypes", - Type = "string", + Type = "number", }, }, Notes = "Creates a new area of the specified size and contents. Origin is set to all zeroes. BlockTypes are set to air, block metas to zero, blocklights to zero and skylights to full light.", @@ -374,7 +374,7 @@ return { { Name = "DataTypes", - Type = "string", + Type = "number", }, { Name = "BlockType", @@ -410,7 +410,7 @@ return }, { Name = "DataTypes", - Type = "string", + Type = "number", }, { Name = "BlockType", @@ -463,7 +463,7 @@ return }, { Name = "DataTypes", - Type = "string", + Type = "number", }, { Name = "BlockType", @@ -1053,7 +1053,9 @@ return }, Returns = { - Type = "boolean", + { + Type = "boolean", + }, }, Notes = "Returns true if the specified absolute coords are within the area.", }, @@ -1067,7 +1069,9 @@ return }, Returns = { - Type = "boolean", + { + Type = "boolean", + }, }, Notes = "Returns true if the specified absolute coords are within the area.", }, @@ -1075,6 +1079,7 @@ return IsValidDataTypeCombination = { + IsStatic = true, Params = { { @@ -1084,7 +1089,9 @@ return }, Returns = { - Type = "boolean", + { + Type = "boolean", + }, }, Notes = "Returns true if the specified combination of datatypes (ba* constants added together) is valid. Most combinations are valid, but for example baBlockEntities without baTypes is an invalid combination.", }, -- IsValidDataTypeCombination @@ -1109,7 +1116,9 @@ return }, Returns = { - Type = "boolean", + { + Type = "boolean", + } }, Notes = "Returns true if the specified relative coords are within the area.", }, @@ -1123,7 +1132,9 @@ return }, Returns = { - Type = "boolean", + { + Type = "boolean", + } }, Notes = "Returns true if the specified relative coords are within the area.", }, @@ -1485,7 +1496,7 @@ return }, { Name = "DataTypes", - Type = "string", + Type = "number", }, { Name = "BlockType", |