summaryrefslogtreecommitdiffstats
path: root/MCServer
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-12-15 20:27:19 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-12-15 20:27:19 +0100
commit6e30e54eb005862a5791faca5c25a0481d0f0915 (patch)
tree1e08ca5596d54b6a9746ed3dae6cd358923492dd /MCServer
parentExported to Lua (diff)
downloadcuberite-6e30e54eb005862a5791faca5c25a0481d0f0915.tar
cuberite-6e30e54eb005862a5791faca5c25a0481d0f0915.tar.gz
cuberite-6e30e54eb005862a5791faca5c25a0481d0f0915.tar.bz2
cuberite-6e30e54eb005862a5791faca5c25a0481d0f0915.tar.lz
cuberite-6e30e54eb005862a5791faca5c25a0481d0f0915.tar.xz
cuberite-6e30e54eb005862a5791faca5c25a0481d0f0915.tar.zst
cuberite-6e30e54eb005862a5791faca5c25a0481d0f0915.zip
Diffstat (limited to 'MCServer')
-rw-r--r--MCServer/Plugins/APIDump/APIDesc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua
index 00510b426..214b45a70 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -1574,6 +1574,7 @@ a_Player:OpenWindow(Window);
DeltaExperience = { Params = "DeltaXP", Return = "", Notes = "Adds or removes XP from the current XP amount. Won't allow XP to go negative. Returns the new experience, -1 on error (XP overflow)." },
Feed = { Params = "AddFood, AddSaturation", Return = "bool", Notes = "Tries to add the specified amounts to food level and food saturation level (only positive amounts expected). Returns true if player was hungry and the food was consumed, false if too satiated." },
FoodPoison = { Params = "NumTicks", Return = "", Notes = "Starts the food poisoning for the specified amount of ticks; if already foodpoisoned, sets FoodPoisonedTicksRemaining to the larger of the two" },
+ ForceSetSpeed = { Params = "{{Vector3d|Direction}}", Notes = "Forces the player to move to the given direction." },
GetAirLevel = { Params = "", Return = "number", Notes = "Returns the air level (number of ticks of air left)." },
GetClientHandle = { Params = "", Return = "{{cClientHandle}}", Notes = "Returns the client handle representing the player's connection. May be nil (AI players)." },
GetColor = { Return = "string", Notes = "Returns the full color code to be used for this player (based on the first group). Prefix player messages with this code." },