input
Keyboard and mouse functions
input.is_key_down
Returns if the specified key is currently being pressed
Key codes can be found here: https://minecraft.fandom.com/el/wiki/Key_codes
input.is_mouse_down
Returns if the specified mouse button is currently being pressed
input.get_key_name
Returns the key name of a specified key code
input.get_key_number
Returns the key code of the specified key name
input.get_scroll
Returns the scrolled amount in mouse wheel
Last updated