@Environment(value=CLIENT) public final class RPKeyBindingHandler extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RPKeyBindingHandler.KeyBindings
Contains key bindings added by RandomPatches.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
enable(net.minecraft.client.options.GameOptions gameOptions)
Enables this class's functionality if it has not already been enabled.
|
static void |
onConfigReload(@Nullable net.minecraft.client.options.GameOptions gameOptions)
Called by
RPConfig.KeyBindings when the RandomPatches
configuration is reloaded. |
public static void enable(net.minecraft.client.options.GameOptions gameOptions)
gameOptions - the GameOptions.public static void onConfigReload(@Nullable net.minecraft.client.options.GameOptions gameOptions)
RPConfig.KeyBindings when the RandomPatches
configuration is reloaded.gameOptions - the GameOptions. If this is null, it is found
automatically.