MCKeyBinding
Last updated
Represents a Minecraft KeyBinding, breeze itself uses a different keybind system.
keyDown:
boolean
If the key is down or not, manipulating this will have effect in-game. However we recommend using our SpoofInputEvent instead!
getKeyCategory():
string
Returns
string
The minecraft category of the key.
getKeyCode():
number
Returns
number
The lwjgl keycode for the bind, mostly useless.
getKeyDescription():
string
Returns
string
The minecraft description of the key.
getRealState():
boolean
Gets the real keyboard state of this bind, ignores spoofing breeze modules or other game modifications.
Returns
boolean
isPressed():
boolean
Checks if the keybind was recently pressed and returns true in that case.
Returns
boolean
Remarks
This pulls presses from minecraft, calling isPressed will make the key be pressed ingame one less time.
Last updated