press_key¶
Sends a fake key press (keydown then keyup) to Minecraft. See Key Names for valid names.
If you pass a combo (e.g. "ctrl+F3"), each key gets pressed and released
one at a time.
Example¶
Arguments¶
key: string
Return values¶
None
This function cannot be called during config-time.