summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump
diff options
context:
space:
mode:
authorSTRWarrior <STRWarrior@users.noreply.github.com>2013-12-15 21:05:18 +0100
committerSTRWarrior <STRWarrior@users.noreply.github.com>2013-12-15 21:05:18 +0100
commit9b8112dbc2db44456aaec8471c14e5fb6aa04a4d (patch)
treec213af4ffb1e053a3e58f6122abbd31b00759477 /MCServer/Plugins/APIDump
parentFixed player spawning packet. (diff)
parentDocumented ForceSetSpeed. (diff)
downloadcuberite-9b8112dbc2db44456aaec8471c14e5fb6aa04a4d.tar
cuberite-9b8112dbc2db44456aaec8471c14e5fb6aa04a4d.tar.gz
cuberite-9b8112dbc2db44456aaec8471c14e5fb6aa04a4d.tar.bz2
cuberite-9b8112dbc2db44456aaec8471c14e5fb6aa04a4d.tar.lz
cuberite-9b8112dbc2db44456aaec8471c14e5fb6aa04a4d.tar.xz
cuberite-9b8112dbc2db44456aaec8471c14e5fb6aa04a4d.tar.zst
cuberite-9b8112dbc2db44456aaec8471c14e5fb6aa04a4d.zip
Diffstat (limited to '')
-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." },