Package | Description |
---|---|
net.minecraft.client | |
net.minecraft.client.settings | |
net.minecraft.client.util | |
net.minecraftforge.client.extensions | |
net.minecraftforge.client.settings |
Modifier and Type | Method and Description |
---|---|
void |
GameSettings.setKeyBindingCode(KeyBinding keyBindingIn,
InputMappings.Input inputIn) |
Modifier and Type | Field and Description |
---|---|
private InputMappings.Input |
KeyBinding.keyCode |
private InputMappings.Input |
KeyBinding.keyCodeDefault |
Modifier and Type | Method and Description |
---|---|
InputMappings.Input |
KeyBinding.getDefault() |
InputMappings.Input |
KeyBinding.getKey() |
Modifier and Type | Method and Description |
---|---|
void |
KeyBinding.bind(InputMappings.Input key) |
static void |
KeyBinding.onTick(InputMappings.Input key) |
static void |
KeyBinding.setKeyBindState(InputMappings.Input key,
boolean held) |
void |
KeyBinding.setKeyModifierAndCode(KeyModifier keyModifier,
InputMappings.Input keyCode) |
Constructor and Description |
---|
KeyBinding(java.lang.String description,
IKeyConflictContext keyConflictContext,
InputMappings.Input keyCode,
java.lang.String category)
Convenience constructor for creating KeyBindings with keyConflictContext set.
|
KeyBinding(java.lang.String description,
IKeyConflictContext keyConflictContext,
KeyModifier keyModifier,
InputMappings.Input keyCode,
java.lang.String category)
Convenience constructor for creating KeyBindings with keyConflictContext and keyModifier set.
|
Modifier and Type | Field and Description |
---|---|
static InputMappings.Input |
InputMappings.INPUT_INVALID |
Modifier and Type | Field and Description |
---|---|
private it.unimi.dsi.fastutil.ints.Int2ObjectMap<InputMappings.Input> |
InputMappings.Type.inputs |
private static java.util.Map<java.lang.String,InputMappings.Input> |
InputMappings.Input.REGISTRY |
Modifier and Type | Method and Description |
---|---|
static InputMappings.Input |
InputMappings.getInputByCode(int keyCode,
int scanCode) |
static InputMappings.Input |
InputMappings.getInputByName(java.lang.String name) |
InputMappings.Input |
InputMappings.Type.getOrMakeInput(int keyCode) |
Modifier and Type | Method and Description |
---|---|
InputMappings.Input |
IForgeKeybinding.getKey() |
Modifier and Type | Method and Description |
---|---|
default boolean |
IForgeKeybinding.isActiveAndMatches(InputMappings.Input keyCode)
Checks that the key conflict context and modifier are active, and that the keyCode matches this binding.
|
void |
IForgeKeybinding.setKeyModifierAndCode(KeyModifier keyModifier,
InputMappings.Input keyCode) |
Modifier and Type | Field and Description |
---|---|
private static java.util.EnumMap<KeyModifier,java.util.Map<InputMappings.Input,java.util.Collection<KeyBinding>>> |
KeyBindingMap.map |
Modifier and Type | Method and Description |
---|---|
void |
KeyBindingMap.addKey(InputMappings.Input keyCode,
KeyBinding keyBinding) |
private KeyBinding |
KeyBindingMap.getBinding(InputMappings.Input keyCode,
KeyModifier keyModifier) |
abstract java.lang.String |
KeyModifier.getLocalizedComboName(InputMappings.Input key,
java.util.function.Supplier<java.lang.String> defaultLogic) |
static boolean |
KeyModifier.isKeyCodeModifier(InputMappings.Input key) |
KeyBinding |
KeyBindingMap.lookupActive(InputMappings.Input keyCode) |
java.util.List<KeyBinding> |
KeyBindingMap.lookupAll(InputMappings.Input keyCode) |
abstract boolean |
KeyModifier.matches(InputMappings.Input key) |