diff options
author | Mattes D <github@xoft.cz> | 2014-10-28 22:29:46 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-10-28 22:29:46 +0100 |
commit | 791f8912125b8b522b8ba197f34c9e2ffb286911 (patch) | |
tree | eae9d305bd7ad06e988a6db4a03d760ded42a6ef /MCServer/Plugins | |
parent | cIntGen: Added a virtual destructor. (diff) | |
parent | QtBiomeVisualiser: Added quick shutdown to region loaders. (diff) | |
download | cuberite-791f8912125b8b522b8ba197f34c9e2ffb286911.tar cuberite-791f8912125b8b522b8ba197f34c9e2ffb286911.tar.gz cuberite-791f8912125b8b522b8ba197f34c9e2ffb286911.tar.bz2 cuberite-791f8912125b8b522b8ba197f34c9e2ffb286911.tar.lz cuberite-791f8912125b8b522b8ba197f34c9e2ffb286911.tar.xz cuberite-791f8912125b8b522b8ba197f34c9e2ffb286911.tar.zst cuberite-791f8912125b8b522b8ba197f34c9e2ffb286911.zip |
Diffstat (limited to 'MCServer/Plugins')
-rw-r--r-- | MCServer/Plugins/APIDump/Classes/Projectiles.lua | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/MCServer/Plugins/APIDump/Classes/Projectiles.lua b/MCServer/Plugins/APIDump/Classes/Projectiles.lua index aef6a048c..748f58b71 100644 --- a/MCServer/Plugins/APIDump/Classes/Projectiles.lua +++ b/MCServer/Plugins/APIDump/Classes/Projectiles.lua @@ -123,35 +123,47 @@ return cSplashPotionEntity = { - Desc = "", - Functions = {}, + Desc = [[ + Represents a thrown splash potion. + ]], + Functions = + { + GetEntityEffect = { Params = "", Return = "{{cEntityEffect}}", Notes = "Returns the entity effect in this potion" }, + GetEntityEffectType = { Params = "", Return = "{{cEntityEffect|Entity effect type}}", Notes = "Returns the effect type of this potion" }, + GetPotionColor = { Params = "", Return = "number", Notes = "Returns the color index of the particles emitted by this potion" }, + SetEntityEffect = { Params = "{{cEntityEffect}}", Return = "", Notes = "Sets the entity effect for this potion" }, + SetEntityEffectType = { Params = "{{cEntityEffect|Entity effect type}}", Return = "", Notes = "Sets the effect type of this potion" }, + SetPotionColor = { Params = "number", Return = "", Notes = "Sets the color index of the particles for this potion" }, + }, Inherits = "cProjectileEntity", }, -- cSplashPotionEntity cThrownEggEntity = { - Desc = "", + Desc = [[ + Represents a thrown egg. + ]], Functions = {}, Inherits = "cProjectileEntity", }, -- cThrownEggEntity cThrownEnderPearlEntity = { - Desc = "", + Desc = "Represents a thrown ender pearl.", Functions = {}, Inherits = "cProjectileEntity", }, -- cThrownEnderPearlEntity cThrownSnowballEntity = { - Desc = "", + Desc = "Represents a thrown snowball.", Functions = {}, Inherits = "cProjectileEntity", }, -- cThrownSnowballEntity cWitherSkullEntity = { - Desc = "", + Desc = "Represents a wither skull being shot.", Functions = {}, Inherits = "cProjectileEntity", }, -- cWitherSkullEntity |