Skip to main content

Module input

Module input 

Source
Expand description

What the player presses.

Structs§

Binding
A mod’s key binding pressed; keyed by its id (mymod:xray).
Key
Fired on every key press, release, or repeat (client-side).
Scroll
The mouse wheel turned in the world (no screen open). Before: a handler that cancels it keeps the game from changing the hotbar slot — a held item that’s scrolled itself.