summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/APIDesc.lua
diff options
context:
space:
mode:
authorKingCol13 <48412633+KingCol13@users.noreply.github.com>2021-07-10 22:05:00 +0200
committerGitHub <noreply@github.com>2021-07-10 22:05:00 +0200
commit1d1fa914012125126d1a3656edc428859696f54f (patch)
treed0190a09b6f519ce528e6d8e25d99141a3faa29f /Server/Plugins/APIDump/APIDesc.lua
parentSymmetry in MultiVersionProtocol to fix a crash (#5261) (diff)
downloadcuberite-1d1fa914012125126d1a3656edc428859696f54f.tar
cuberite-1d1fa914012125126d1a3656edc428859696f54f.tar.gz
cuberite-1d1fa914012125126d1a3656edc428859696f54f.tar.bz2
cuberite-1d1fa914012125126d1a3656edc428859696f54f.tar.lz
cuberite-1d1fa914012125126d1a3656edc428859696f54f.tar.xz
cuberite-1d1fa914012125126d1a3656edc428859696f54f.tar.zst
cuberite-1d1fa914012125126d1a3656edc428859696f54f.zip
Diffstat (limited to 'Server/Plugins/APIDump/APIDesc.lua')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua85
1 files changed, 85 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index 634202782..6055ff8f1 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -9587,6 +9587,91 @@ a_Player:OpenWindow(Window);
{
Notes = "Removes all currently applied entity effects",
},
+ FindTeleportDestination =
+ {
+ {
+ Params =
+ {
+ {
+ Name = "World",
+ Type = "cWorld",
+ },
+ {
+ Name = "HeightRequired",
+ Type = "number",
+ },
+ {
+ Name = "NumTries",
+ Type = "number",
+ },
+ {
+ Name = "Destination",
+ Type = "Vector3d",
+ },
+ {
+ Name = "MinBoxCorner",
+ Type = "Vector3i",
+ },
+ {
+ Name = "MaxBoxCorner",
+ Type = "Vector3i",
+ },
+ },
+ Notes = "Function to find suitable teleport destination in or below box. Returns true and places result in Destination if found, otherwise returns false. Details at: https://minecraft.fandom.com/wiki/Enderman#Teleportation.",
+ },
+ {
+ Params =
+ {
+ {
+ Name = "World",
+ Type = "cWorld",
+ },
+ {
+ Name = "HeightRequired",
+ Type = "number",
+ },
+ {
+ Name = "NumTries",
+ Type = "number",
+ },
+ {
+ Name = "Destination",
+ Type = "Vector3d",
+ },
+ {
+ Name = "BoundingBox",
+ Type = "cBoundingBox",
+ },
+ },
+ Notes = "Function to find suitable teleport destination in or below box. Returns true and places result in Destination if found, otherwise returns false. Details at: https://minecraft.fandom.com/wiki/Enderman#Teleportation.",
+ },
+ {
+ Params =
+ {
+ {
+ Name = "World",
+ Type = "cWorld",
+ },
+ {
+ Name = "HeightRequired",
+ Type = "number",
+ },
+ {
+ Name = "NumTries",
+ Type = "number",
+ },
+ {
+ Name = "Centre",
+ Type = "Vector3i",
+ },
+ {
+ Name = "HalfCubeWidth",
+ Type = "number",
+ },
+ },
+ Notes = "Function to find suitable teleport destination in or below box. Returns true and places result in Destination if found, otherwise returns false. Details at: https://minecraft.fandom.com/wiki/Enderman#Teleportation.",
+ },
+ },
HasEntityEffect =
{
Params =