diff options
author | Mattes D <github@xoft.cz> | 2014-10-22 16:04:31 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-10-22 16:06:31 +0200 |
commit | bfd1a9601add23bc2cbe92299ebda53375b30199 (patch) | |
tree | c42107ef91b03c4fe07ad21279d7b78825066d4f | |
parent | Clearer version indication. (diff) | |
download | cuberite-bfd1a9601add23bc2cbe92299ebda53375b30199.tar cuberite-bfd1a9601add23bc2cbe92299ebda53375b30199.tar.gz cuberite-bfd1a9601add23bc2cbe92299ebda53375b30199.tar.bz2 cuberite-bfd1a9601add23bc2cbe92299ebda53375b30199.tar.lz cuberite-bfd1a9601add23bc2cbe92299ebda53375b30199.tar.xz cuberite-bfd1a9601add23bc2cbe92299ebda53375b30199.tar.zst cuberite-bfd1a9601add23bc2cbe92299ebda53375b30199.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/APIDump/Classes/Projectiles.lua | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/MCServer/Plugins/APIDump/Classes/Projectiles.lua b/MCServer/Plugins/APIDump/Classes/Projectiles.lua index cc6182b6e..aef6a048c 100644 --- a/MCServer/Plugins/APIDump/Classes/Projectiles.lua +++ b/MCServer/Plugins/APIDump/Classes/Projectiles.lua @@ -37,22 +37,38 @@ return cExpBottleEntity = { - Desc = "", - Functions = {}, + Desc = [[ + Represents a thrown ExpBottle. A subclass of the {{cProjectileEntity}}. + ]], + Functions = + { + }, Inherits = "cProjectileEntity", }, -- cExpBottleEntity cFireChargeEntity = { - Desc = "", + Desc = [[ + Represents a fire charge that has been shot by a Blaze or a {{cDispenserEntity|Dispenser}}. A subclass + of the {{cProjectileEntity}}. + ]], Functions = {}, Inherits = "cProjectileEntity", }, -- cFireChargeEntity cFireworkEntity = { - Desc = "", - Functions = {}, + Desc = [[ + Represents a firework rocket. + ]], + Functions = + { + GetItem = { Params = "", Return = "{{cItem}}", Notes = "Returns the item that has been used to create the firework rocket. The item's m_FireworkItem member contains all the firework-related data." }, + GetTicksToExplosion = { Params = "", Return = "number", Notes = "Returns the number of ticks left until the firework explodes." }, + SetItem = { Params = "{{cItem}}", Return = "", Notes = "Sets a new item to be used for the firework." }, + SetTicksToExplosion = { Params = "NumTicks", Return = "", Notes = "Sets the number of ticks left until the firework explodes." }, + }, + Inherits = "cProjectileEntity", }, -- cFireworkEntity |