Client

abstract class Client

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun getKeyBindFromDescription(description: String): KeyBind?

Get the KeyBind from an already existing Minecraft KeyBinding, otherwise, returns null.

Link copied to clipboard
abstract fun getKeyBindFromKey(keyCode: Int): KeyBind?

Get the KeyBind from an already existing Minecraft KeyBinding, otherwise, returns null.

abstract fun getKeyBindFromKey(keyCode: Int, description: String): KeyBind

Get the KeyBind from an already existing Minecraft KeyBinding, else, return a new one. This will create the KeyBind with the default category "ChatTriggers".

abstract fun getKeyBindFromKey(keyCode: Int, description: String, category: String): KeyBind

Get the KeyBind from an already existing Minecraft KeyBinding, else, return a new one.

Sources

Link copied to clipboard