summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-25 21:27:27 +0200
committerMattes D <github@xoft.cz>2014-10-25 21:27:27 +0200
commit2e8f2c5b3a0d8c1057451dafe147842507984cad (patch)
treef011195bd15ae078c696c97505d4e0afd3bd24ca /MCServer/Plugins/APIDump
parentshorter easy-install command (diff)
downloadcuberite-2e8f2c5b3a0d8c1057451dafe147842507984cad.tar
cuberite-2e8f2c5b3a0d8c1057451dafe147842507984cad.tar.gz
cuberite-2e8f2c5b3a0d8c1057451dafe147842507984cad.tar.bz2
cuberite-2e8f2c5b3a0d8c1057451dafe147842507984cad.tar.lz
cuberite-2e8f2c5b3a0d8c1057451dafe147842507984cad.tar.xz
cuberite-2e8f2c5b3a0d8c1057451dafe147842507984cad.tar.zst
cuberite-2e8f2c5b3a0d8c1057451dafe147842507984cad.zip
Diffstat (limited to '')
-rw-r--r--MCServer/Plugins/APIDump/Classes/Projectiles.lua24
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