setKey

fun setKey(key: Int): KeyAction

Which key to act as if has been clicked (REQUIRED). Options currently are 0-8, representing the hotbar keys

Parameters

key

which key to "click"

Sources

Link copied to clipboard