Buy Me a Coffee at ko-fi.com

Creates and returns a new Keybind
The name is used in the keybind menu
The key parameter is an identifier for a key, such as "key.keyboard.r"
The boolean gui indicates whether the keybind should always work, or if it should only work when you don't have a screen open
Check the docs enum command for all key names

overload 1:
KeybindAPI.of(name: String): Keybind
typings.-1808118735typings.849613564
Method PropertyFluent DescriptionRepresentation
name accepts
Return Value
overload 2:
KeybindAPI.of(name: String, key: String): Keybind
typings.-1808118735typings.-1808118735typings.849613564
Method PropertyFluent DescriptionRepresentation
name accepts
key accepts
Return Value
overload 3:
KeybindAPI.of(name: String, key: String, gui: Boolean): Keybind
typings.-1808118735typings.-1808118735typings.1729365000typings.849613564
Method PropertyFluent DescriptionRepresentation
name accepts
key accepts
gui accepts
Return Value