diff options
author | Mattes D <github@xoft.cz> | 2020-04-18 11:44:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-18 11:44:35 +0200 |
commit | a55f61548ef050f29aab96095b80af4c9f046281 (patch) | |
tree | 4c03607df6b5dd97af28f9748493a1bb26fd5d50 /Server/Plugins/APIDump/APIDesc.lua | |
parent | Fixing washing away of redstone mechanisms (#4665) (diff) | |
download | cuberite-a55f61548ef050f29aab96095b80af4c9f046281.tar cuberite-a55f61548ef050f29aab96095b80af4c9f046281.tar.gz cuberite-a55f61548ef050f29aab96095b80af4c9f046281.tar.bz2 cuberite-a55f61548ef050f29aab96095b80af4c9f046281.tar.lz cuberite-a55f61548ef050f29aab96095b80af4c9f046281.tar.xz cuberite-a55f61548ef050f29aab96095b80af4c9f046281.tar.zst cuberite-a55f61548ef050f29aab96095b80af4c9f046281.zip |
Diffstat (limited to 'Server/Plugins/APIDump/APIDesc.lua')
-rw-r--r-- | Server/Plugins/APIDump/APIDesc.lua | 84 |
1 files changed, 56 insertions, 28 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua index fe2af77e6..80023274f 100644 --- a/Server/Plugins/APIDump/APIDesc.lua +++ b/Server/Plugins/APIDump/APIDesc.lua @@ -13214,46 +13214,74 @@ end { AddFaceDirection = { - Params = { + Params = { - Name = "BlockX", - Type = "number", - }, - { - Name = "BlockY", - Type = "number", - }, - { - Name = "BlockZ", - Type = "number", - }, - { - Name = "BlockFace", - Type = "eBlockFace", + { + Name = "BlockX", + Type = "number", + }, + { + Name = "BlockY", + Type = "number", + }, + { + Name = "BlockZ", + Type = "number", + }, + { + Name = "BlockFace", + Type = "eBlockFace", + }, + { + Name = "IsInverse", + Type = "boolean", + IsOptional = true, + }, }, + Returns = { - Name = "IsInverse", - Type = "boolean", - IsOptional = true, + { + Name = "BlockX", + Type = "number", + }, + { + Name = "BlockY", + Type = "number", + }, + { + Name = "BlockZ", + Type = "number", + }, }, + Notes = "Returns the coords of a block adjacent to the specified block through the specified {{Globals#BlockFaces|face}}", }, - Returns = { + Params = { - Name = "BlockX", - Type = "number", - }, - { - Name = "BlockY", - Type = "number", + { + Name = "BlockPos", + Type = "Vector3i", + }, + { + Name = "BlockFace", + Type = "eBlockFace", + }, + { + Name = "IsInverse", + Type = "boolean", + IsOptional = true, + }, }, + Returns = { - Name = "BlockZ", - Type = "number", + { + Name = "BlockPos", + Type = "Vector3i", + }, }, + Notes = "Returns the coords of a block adjacent to the specified block through the specified {{Globals#BlockFaces|face}}", }, - Notes = "Returns the coords of a block adjacent to the specified block through the specified {{Globals#BlockFaces|face}}", }, Base64Decode = { |