diff options
author | madmaxoft <github@xoft.cz> | 2014-10-01 12:14:51 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-10-01 12:14:51 +0200 |
commit | f2f0c26421e47ab815b25e7971e49a47f4ae1629 (patch) | |
tree | 4a02b77030b973504a2f4c5baf10afd970ebe9ce /MCServer/Plugins | |
parent | cClientHandle: Alpha-sorted the sending functions. (diff) | |
download | cuberite-f2f0c26421e47ab815b25e7971e49a47f4ae1629.tar cuberite-f2f0c26421e47ab815b25e7971e49a47f4ae1629.tar.gz cuberite-f2f0c26421e47ab815b25e7971e49a47f4ae1629.tar.bz2 cuberite-f2f0c26421e47ab815b25e7971e49a47f4ae1629.tar.lz cuberite-f2f0c26421e47ab815b25e7971e49a47f4ae1629.tar.xz cuberite-f2f0c26421e47ab815b25e7971e49a47f4ae1629.tar.zst cuberite-f2f0c26421e47ab815b25e7971e49a47f4ae1629.zip |
Diffstat (limited to 'MCServer/Plugins')
-rw-r--r-- | MCServer/Plugins/APIDump/APIDesc.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua index 9bc6299d9..4865fb293 100644 --- a/MCServer/Plugins/APIDump/APIDesc.lua +++ b/MCServer/Plugins/APIDump/APIDesc.lua @@ -540,6 +540,9 @@ end SetUsername = { Params = "Name", Return = "", Notes = "Sets the username" }, SetViewDistance = { Params = "ViewDistance", Return = "", Notes = "Sets the viewdistance (number of chunks loaded for the player in each direction)" }, SendBlockChange = { Params = "BlockX, BlockY, BlockZ, BlockType, BlockMeta", Return = "", Notes = "Sends a BlockChange packet to the client. This can be used to create fake blocks only for that player." }, + SendEntityAnimation = { Params = "{{cEntity|Entity}}, AnimationNumber", Return = "", Notes = "Sends the specified animation of the specified entity to the client. The AnimationNumber is protocol-specific." }, + SendSoundEffect = { Params = "SoundName, X, Y, Z, Volume, Pitch", Return = "", Notes = "Sends a sound effect request to the client. The sound is played at the specified coords, with the specified volume (a float, 1.0 is full volume, can be more) and pitch (0-255, 63 is 100%)" }, + SendTimeUpdate = { Params = "WorldAge, TimeOfDay, DoDaylightCycle", Return = "", Notes = "Sends the specified time update to the client. WorldAge is the total age of the world, in ticks. TimeOfDay is the current day's time, in ticks (0 - 24000). DoDaylightCycle is a bool that specifies whether the client should automatically move the sun (true) or keep it in the same place (false)." }, }, Constants = { |