List of Resources

See MKB through human eyes
Filter by Type:
All Action Event Iterator Parameter REPL Command Variable
Filter by Category:
All Calculations Control Flow Equipped Armor Equipped Tool GUI Input Looking at Mod related Player Position Server Settings Time and Date Variables World

Filtros ativos: Categoria: "Input"

~ALT
Variable

Whether the Alt key was pressed at the start of the script

Category: Input
ALT
Variable

Whether the Alt key is pressed

Category: Input
~CTRL
Variable

Whether the Control key was pressed at the start of the script

Category: Input
CTRL
Variable

Whether the Control key is pressed

Category: Input
ECHO
Action

Sends the specified message to the server

Category: Input
KEY
Action

Activates the specified key binding for 1 tick Can be one of the following values: * `"inventory"` * `"drop"` * `"chat"` * `"attack"` * `"use"` * `"pick"` * `"screenshot"` * `"smoothcamera"` * `"swaphands"`

Category: Input
KEYDOWN
Action

Sets the specified key binding state to pressed, only works with pressable bindings Can be one of the following values: * `"forward"` * `"back"` * `"left"` * `"right"` * `"jump"` * `"sneak"` * `"playerlist"` * `"sprint"` Can also be a key code value between 0 and 255

Category: Input
KEYID
Variable

Key ID of the key that started this script

Category: Input
~KEY_<name>
Variable

Whether the specified key was pressed at the start of the script

Category: Input
KEY_<name>
Variable

Whether the key with the specified LWJGL keyname is pressed

Category: Input
KEYNAME
Variable

Keyname of the key that started this script

Category: Input
KEYUP
Action

Sets the specified key binding state to unpressed, only works with pressable bindings Can be one of the following values: * `"forward"` * `"back"` * `"left"` * `"right"` * `"jump"` * `"sneak"` * `"playerlist"` * `"sprint"` Can also be a key code value between 0 and 255

Category: Input
~LMOUSE
Variable

Whether the left mouse button was pressed at the start of the script

Category: Input
LMOUSE
Variable

Whether the left mouse button is pressed

Category: Input
LOG
Action

Shows the specified text only on the client-side in the chat window.

Category: Input
LOGRAW
Action

Similar to minecraft tellraw command, parses and outputs JSON chat into the client-side chat window.

Category: Input
~MIDDLEMOUSE
Variable

Whether the middle mouse button was pressed at the start of the script

Category: Input
MIDDLEMOUSE
Variable

Whether the middle mouse button is pressed

Category: Input
PRESS
Action

Injects the specified key event directly into the keyboard buffer for 1 tick

Category: Input
~RMOUSE
Variable

Whether the right mouse button was pressed at the start of the script

Category: Input
RMOUSE
Variable

Whether the right mouse button is pressed

Category: Input
~SHIFT
Variable

Whether the Shift key was pressed at the start of the script

Category: Input
SHIFT
Variable

Whether the Shift key is pressed

Category: Input
SPRINT
Action

Sets the player state to sprinting if sufficient stamina (food)

Category: Input
TOGGLEKEY
Action

Toggles the pressed state of the specified key binding, only works with pressable bindings Can be one of the following values: * `"forward"` * `"back"` * `"left"` * `"right"` * `"jump"` * `"sneak"` * `"playerlist"` * `"sprint"` Can also be a key code value between 0 and 255

Category: Input