diff options
author | Alexander Harkness <me@bearbin.net> | 2015-10-31 23:18:27 +0100 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2015-10-31 23:18:27 +0100 |
commit | b13fd00ec44cc3fc4ad0395b3b9df04de00617b5 (patch) | |
tree | 671987e9a48544fd0fc37135732feebdca697caa /Server/Plugins/APIDump/APIDesc.lua | |
parent | Merge pull request #2549 from cuberite/TouchGround (diff) | |
parent | Implemented the FireResistence potion effects. (diff) | |
download | cuberite-b13fd00ec44cc3fc4ad0395b3b9df04de00617b5.tar cuberite-b13fd00ec44cc3fc4ad0395b3b9df04de00617b5.tar.gz cuberite-b13fd00ec44cc3fc4ad0395b3b9df04de00617b5.tar.bz2 cuberite-b13fd00ec44cc3fc4ad0395b3b9df04de00617b5.tar.lz cuberite-b13fd00ec44cc3fc4ad0395b3b9df04de00617b5.tar.xz cuberite-b13fd00ec44cc3fc4ad0395b3b9df04de00617b5.tar.zst cuberite-b13fd00ec44cc3fc4ad0395b3b9df04de00617b5.zip |
Diffstat (limited to 'Server/Plugins/APIDump/APIDesc.lua')
-rw-r--r-- | Server/Plugins/APIDump/APIDesc.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua index 2fcd02a17..6bca605c8 100644 --- a/Server/Plugins/APIDump/APIDesc.lua +++ b/Server/Plugins/APIDump/APIDesc.lua @@ -1822,8 +1822,9 @@ a_Player:OpenWindow(Window); TakeDamage = { Return = "" }, KilledBy = { Return = "" }, GetHealth = { Return = "number" }, - AddEntityEffect = { Params = "EffectType, {{cEntityEffect}}", Return = "", Notes = "Applies an entity effect" }, - RemoveEntityEffect = { Params = "EffectType", Return = "", Notes = "Removes a currently applied entity effect" }, + AddEntityEffect = { Params = "{{cEntityEffect|EffectType}}, {{cEntityEffect}}", Return = "", Notes = "Applies an entity effect" }, + RemoveEntityEffect = { Params = "{{cEntityEffect|EffectType}}", Return = "", Notes = "Removes a currently applied entity effect" }, + HasEntityEffect = { Return = "bool", Params = "{{cEntityEffect|EffectType}}", Notes = "Returns true, if the supplied entity effect type is currently applied" } ClearEntityEffects = { Return = "", Notes = "Removes all currently applied entity effects" }, }, Inherits = "cEntity", |