summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/APIDesc.lua
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-09-13 17:05:59 +0200
committerMattes D <github@xoft.cz>2014-09-13 17:05:59 +0200
commit5b63a7fe9864a7b1afdf526a2b3b6d29ed991b9b (patch)
treefcf2f5efe358c8c9ab7e3f54bc3a95a257e9f899 /MCServer/Plugins/APIDump/APIDesc.lua
parentGittip is now Gratipay (diff)
parentAdded extra mushroom handler. (diff)
downloadcuberite-5b63a7fe9864a7b1afdf526a2b3b6d29ed991b9b.tar
cuberite-5b63a7fe9864a7b1afdf526a2b3b6d29ed991b9b.tar.gz
cuberite-5b63a7fe9864a7b1afdf526a2b3b6d29ed991b9b.tar.bz2
cuberite-5b63a7fe9864a7b1afdf526a2b3b6d29ed991b9b.tar.lz
cuberite-5b63a7fe9864a7b1afdf526a2b3b6d29ed991b9b.tar.xz
cuberite-5b63a7fe9864a7b1afdf526a2b3b6d29ed991b9b.tar.zst
cuberite-5b63a7fe9864a7b1afdf526a2b3b6d29ed991b9b.zip
Diffstat (limited to 'MCServer/Plugins/APIDump/APIDesc.lua')
-rw-r--r--MCServer/Plugins/APIDump/APIDesc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua
index fc1217474..2f791293d 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -1641,6 +1641,8 @@ a_Player:OpenWindow(Window);
MobTypeToString = { Params = "{{cMonster#MobType|MobType}}", Return = "string", Notes = "(STATIC) Returns the string representing the given mob type ({{cMonster#MobType|mtXXX}} constant), or empty string if unknown type." },
MoveToPosition = { Params = "Position", Return = "", Notes = "Moves mob to the specified position" },
StringToMobType = { Params = "string", Return = "{{cMonster#MobType|MobType}}", Notes = "(STATIC) Returns the mob type ({{cMonster#MobType|mtXXX}} constant) parsed from the string type (\"creeper\"), or mtInvalidType if unrecognized." },
+ GetRelativeWalkSpeed = { Params = "", Return = "number", Notes = "Returns the relative walk speed of this mob. Standard is 1.0" },
+ SetRelativeWalkSpeed = { Params = "number", Return = "", Notes = "Sets the relative walk speed of this mob. Standard is 1.0" },
},
Constants =
{