public static final class RPKeyBindingHandler.KeyBindings extends Object
A separate class in necessary to prevent certain classes from being loaded too early.
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.client.options.KeyBinding |
DISMOUNT
The dismount key binding.
|
static net.minecraft.client.options.KeyBinding |
PAUSE
The pause key binding.
|
static net.minecraft.client.options.KeyBinding |
SECONDARY_SPRINT
The secondary sprint key binding.
|
static net.minecraft.client.options.KeyBinding |
TOGGLE_DEBUG_INFO
The debug key binding.
|
static net.minecraft.client.options.KeyBinding |
TOGGLE_GUI
The GUI toggle key binding.
|
static net.minecraft.client.options.KeyBinding |
TOGGLE_NARRATOR
The narrator toggle key binding.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
onKeyEvent(int key,
int action,
int scanCode)
Handles key events.
|
public static final net.minecraft.client.options.KeyBinding SECONDARY_SPRINT
public static final net.minecraft.client.options.KeyBinding DISMOUNT
public static final net.minecraft.client.options.KeyBinding TOGGLE_NARRATOR
public static final net.minecraft.client.options.KeyBinding PAUSE
public static final net.minecraft.client.options.KeyBinding TOGGLE_GUI
public static final net.minecraft.client.options.KeyBinding TOGGLE_DEBUG_INFO
public static void onKeyEvent(int key,
int action,
int scanCode)
KeyboardMixin.key - the key.action - the action.scanCode - the scan code.