keybinds
Last updated
Last updated
Returns the keycode for a specified minecraft keybind.
Returns the keycode for a specified key.
Returns the position of the cursor as an array [x, y]
.
Returns true if the specified key is being pressed.
Returns true if the specified mouse button is currently pressed. Use 0
for left click, 1
for right click, and 2
for middle click.
Returns true if the specified keybind is being pressed.
Simulates a left click on the mouse.
Simulates a right click on the mouse.
Sets the pressed state of a specified keybind. Taken from %appdata%/.minecraft/options.txt
.