summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2022-07-16 13:04:14 +0200
committerGitHub <noreply@github.com>2022-07-16 13:04:14 +0200
commit64a24a4c79ace77ff111f0b555ff1d9d942bf56e (patch)
tree9ab668e5ac829c7b09e7e9f457de2c0b73a8d903 /Server/Plugins/APIDump
parentItemHandler: Fix torch handler not being called (#5433) (diff)
downloadcuberite-64a24a4c79ace77ff111f0b555ff1d9d942bf56e.tar
cuberite-64a24a4c79ace77ff111f0b555ff1d9d942bf56e.tar.gz
cuberite-64a24a4c79ace77ff111f0b555ff1d9d942bf56e.tar.bz2
cuberite-64a24a4c79ace77ff111f0b555ff1d9d942bf56e.tar.lz
cuberite-64a24a4c79ace77ff111f0b555ff1d9d942bf56e.tar.xz
cuberite-64a24a4c79ace77ff111f0b555ff1d9d942bf56e.tar.zst
cuberite-64a24a4c79ace77ff111f0b555ff1d9d942bf56e.zip
Diffstat (limited to 'Server/Plugins/APIDump')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua9
1 files changed, 4 insertions, 5 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index 227e4a6fa..03fb31990 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -14299,13 +14299,13 @@ end
Type = "number",
},
},
- Notes = "Returns the coords of a block adjacent to the specified block through the specified {{Globals#BlockFaces|face}}",
+ Notes = "<b>OBSOLETE</b>, use the vector version instead.",
},
{
Params =
{
{
- Name = "BlockPos",
+ Name = "Position",
Type = "Vector3i",
},
{
@@ -14313,7 +14313,7 @@ end
Type = "eBlockFace",
},
{
- Name = "IsInverse",
+ Name = "InvertDirection",
Type = "boolean",
IsOptional = true,
},
@@ -14321,11 +14321,10 @@ end
Returns =
{
{
- Name = "BlockPos",
Type = "Vector3i",
},
},
- Notes = "Returns the coords of a block adjacent to the specified block through the specified {{Globals#BlockFaces|face}}",
+ Notes = "By default, returns the coordinates adjacent to the specified block through the specified face. If inverted, returns the coordinates adjacent to the opposite face.",
},
},
Base64Decode =