diff options
author | Samuel Barney <samjbarney@gmail.com> | 2013-12-05 15:32:19 +0100 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2013-12-05 15:32:19 +0100 |
commit | 8acfe21503f4b4fdccd03d0927ec8a11cd6457ec (patch) | |
tree | 1ea90086621fc11d433cd94ccd635d54c5a4380a /MCServer/Plugins/APIDump/Hooks/OnPlayerRightClick.lua | |
parent | Made suggested changes (diff) | |
parent | ProtoProxy: Fixed metadata parsing. (diff) | |
download | cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.tar cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.tar.gz cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.tar.bz2 cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.tar.lz cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.tar.xz cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.tar.zst cuberite-8acfe21503f4b4fdccd03d0927ec8a11cd6457ec.zip |
Diffstat (limited to 'MCServer/Plugins/APIDump/Hooks/OnPlayerRightClick.lua')
-rw-r--r-- | MCServer/Plugins/APIDump/Hooks/OnPlayerRightClick.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/Hooks/OnPlayerRightClick.lua b/MCServer/Plugins/APIDump/Hooks/OnPlayerRightClick.lua index d767b449d..de9b3662c 100644 --- a/MCServer/Plugins/APIDump/Hooks/OnPlayerRightClick.lua +++ b/MCServer/Plugins/APIDump/Hooks/OnPlayerRightClick.lua @@ -21,6 +21,9 @@ return { Name = "BlockY", Type = "number", Notes = "Y-coord of the block" }, { Name = "BlockZ", Type = "number", Notes = "Z-coord of the block" }, { Name = "BlockFace", Type = "number", Notes = "Face of the block upon which the player interacted. One of the BLOCK_FACE_ constants" }, + { Name = "CursorX", Type = "number", Notes = "X-coord of the mouse crosshair on the block" }, + { Name = "CursorY", Type = "number", Notes = "Y-coord of the mouse crosshair on the block" }, + { Name = "CursorZ", Type = "number", Notes = "Z-coord of the mouse crosshair on the block" }, }, Returns = [[ If the function returns false or no value, MCServer calls other plugins' callbacks and finally sends |