diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-01-29 15:36:53 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-01-29 15:36:53 +0100 |
commit | 4d53eb27110cce4a79a4ecce60a2bfad2879fa41 (patch) | |
tree | c8df1b1a3f946791b4ca602704f8af61dfeb269a /MCServer/Plugins/APIDump | |
parent | Removed debug message when a firework entity hit a solid block. (diff) | |
download | cuberite-4d53eb27110cce4a79a4ecce60a2bfad2879fa41.tar cuberite-4d53eb27110cce4a79a4ecce60a2bfad2879fa41.tar.gz cuberite-4d53eb27110cce4a79a4ecce60a2bfad2879fa41.tar.bz2 cuberite-4d53eb27110cce4a79a4ecce60a2bfad2879fa41.tar.lz cuberite-4d53eb27110cce4a79a4ecce60a2bfad2879fa41.tar.xz cuberite-4d53eb27110cce4a79a4ecce60a2bfad2879fa41.tar.zst cuberite-4d53eb27110cce4a79a4ecce60a2bfad2879fa41.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/APIDump/APIDesc.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua index 07345d51e..cbdb7797b 100644 --- a/MCServer/Plugins/APIDump/APIDesc.lua +++ b/MCServer/Plugins/APIDump/APIDesc.lua @@ -813,6 +813,20 @@ cFile:Delete("/usr/bin/virus.exe"); }, }, -- cFile + cFloater = + { + Desc = [[ + When a player uses his/her fishing rod it creates a floater entity. This class manages it. + ]], + Functions = + { + CanPickup = { Params = "", Return = "bool", Notes = "Returns true if the floater gives an item when the player right clicks." }, + GetAttachedMobID = { Params = "", Return = "EntityID", Notes = "A floater can get attached to an mob. When it is and this functions gets called it returns the mob ID. If it isn't attached to a mob it returns -1" }, + GetOwnerID = { Params = "", Return = "EntityID", Notes = "Returns the EntityID of the player who owns the floater." }, + }, + Inherits = "cEntity", + }, + cGroup = { Desc = [[ |