summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-27 09:29:02 +0100
committermadmaxoft <github@xoft.cz>2013-10-27 09:29:02 +0100
commit5d58457c9e950093ce14ce10eb74626ecec57025 (patch)
tree84dd80cfa1e7918ebe913bf979a19434f3f263c6 /MCServer/Plugins
parentAdded cChunk::UnboundedRelGetBlockLights(). (diff)
downloadcuberite-5d58457c9e950093ce14ce10eb74626ecec57025.tar
cuberite-5d58457c9e950093ce14ce10eb74626ecec57025.tar.gz
cuberite-5d58457c9e950093ce14ce10eb74626ecec57025.tar.bz2
cuberite-5d58457c9e950093ce14ce10eb74626ecec57025.tar.lz
cuberite-5d58457c9e950093ce14ce10eb74626ecec57025.tar.xz
cuberite-5d58457c9e950093ce14ce10eb74626ecec57025.tar.zst
cuberite-5d58457c9e950093ce14ce10eb74626ecec57025.zip
Diffstat (limited to '')
-rw-r--r--MCServer/Plugins/APIDump/APIDesc.lua24
1 files changed, 21 insertions, 3 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua
index dfada998f..b7a5b7e47 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -1040,7 +1040,7 @@ ValueName0=SomeOtherValue
insert values by hand. Then you can store the object's contents to a disk file using WriteFile(), or
just forget everything by destroying the object. Note that the file operations are quite slow.</p>
<p>
- For storing high-volume low-latency data, use the {{sqlite}} class. For storing
+ For storing high-volume low-latency data, use the {{sqlite3}} class. For storing
hierarchically-structured data, use the XML format, using the LuaExpat parser in the {{lxp}} class.
]],
Functions =
@@ -1943,8 +1943,26 @@ cPluginManager.AddHook(cPluginManager.HOOK_CHAT, OnChatMessage);
cProjectileEntity =
{
Desc = "",
- Functions = {},
- Constants = {},
+ Functions =
+ {
+ GetCreator = { Params = "", Return = "{{cEntity}} descendant", Notes = "Returns the entity who created this projectile. May return nil." },
+ GetMCAClassName = { Params = "", Return = "string", Notes = "Returns the string that identifies the projectile type (class name) in MCA files" },
+ GetProjectileKind = { Params = "", Return = "ProjectileKind", Notes = "Returns the kind of this projectile (pkXXX constant)" },
+ IsInGround = { Params = "", Return = "bool", Notes = "Returns true if this projectile has hit the ground." },
+ },
+ Constants =
+ {
+ pkArrow = { Notes = "The projectile is an {{cArrowEntity|arrow}}" },
+ pkEgg = { Notes = "The projectile is a {{cThrownEggEntity|thrown egg}}" },
+ pkEnderPearl = { Notes = "The projectile is a {{cThrownEnderPearlEntity|thrown enderpearl}}" },
+ pkExpBottle = { Notes = "The projectile is a thrown exp bottle (NYI)" },
+ pkFireCharge = { Notes = "The projectile is a {{cFireChargeEntity|fire charge}}" },
+ pkFishingFloat = { Notes = "The projectile is a fishing float (NYI)" },
+ pkGhastFireball = { Notes = "The projectile is a {{cGhastFireballEntity|ghast fireball}}" },
+ pkSnowball = { Notes = "The projectile is a {{cThrownSnowballEntity|thrown snowball}}" },
+ pkSplashPotion = { Notes = "The projectile is a thrown splash potion (NYI)" },
+ pkWitherSkull = { Notes = "The projectile is a wither skull (NYI)" },
+ },
Inherits = "cEntity",
},