diff options
author | STRWarrior <STRWarrior@users.noreply.github.com> | 2013-12-15 21:05:18 +0100 |
---|---|---|
committer | STRWarrior <STRWarrior@users.noreply.github.com> | 2013-12-15 21:05:18 +0100 |
commit | 9b8112dbc2db44456aaec8471c14e5fb6aa04a4d (patch) | |
tree | c213af4ffb1e053a3e58f6122abbd31b00759477 /MCServer | |
parent | Fixed player spawning packet. (diff) | |
parent | Documented ForceSetSpeed. (diff) | |
download | cuberite-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 'MCServer')
-rw-r--r-- | MCServer/Plugins/APIDump/APIDesc.lua | 1 |
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." }, |