Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bot.clickWindow documentation #3574

Merged
merged 6 commits into from
Mar 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2122,7 +2122,19 @@ These are lower level methods for the inventory, they can be useful sometimes bu

This function returns a `Promise`, with `void` as its argument upon completion.

The only valid mode option at the moment is 0. Shift clicking or mouse dragging is not implemented.
mode support:
- stable:
- mouse clicks (0)

- experimental:
- shift clicks (1)
- number clicks (2)
- middle clicks (3)
- drop clicks (4)

- unimplemented:
- drag clicks (5)
- double clicks (6)

Click on the current window. See details at https://wiki.vg/Protocol#Click_Container

Expand Down
Loading