Uses of Class
com.mojang.blaze3d.platform.InputConstants.Key
Packages that use InputConstants.Key
Package
Description
Extension interfaces for 
client-only classes.- 
Uses of InputConstants.Key in com.mojang.blaze3d.platformFields in com.mojang.blaze3d.platform declared as InputConstants.KeyFields in com.mojang.blaze3d.platform with type parameters of type InputConstants.KeyModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.ints.Int2ObjectMap<InputConstants.Key>InputConstants.Type.map(package private) static final Map<String,InputConstants.Key> InputConstants.Key.NAME_MAPMethods in com.mojang.blaze3d.platform that return InputConstants.KeyModifier and TypeMethodDescriptionstatic InputConstants.KeyInputConstants.getKey(int p_84828_, int p_84829_) static InputConstants.KeyInputConstants.Type.getOrCreate(int p_84896_) 
- 
Uses of InputConstants.Key in net.minecraft.clientFields in net.minecraft.client declared as InputConstants.KeyModifier and TypeFieldDescriptionprivate final InputConstants.KeyKeyMapping.defaultKeyprivate InputConstants.KeyKeyMapping.keyMethods in net.minecraft.client that return InputConstants.KeyMethods in net.minecraft.client with parameters of type InputConstants.KeyModifier and TypeMethodDescriptionstatic voidKeyMapping.click(InputConstants.Key p_90836_) static voidKeyMapping.set(InputConstants.Key p_90838_, boolean p_90839_) voidKeyMapping.setKey(InputConstants.Key p_90849_) voidOptions.setKey(KeyMapping p_92160_, InputConstants.Key p_92161_) voidKeyMapping.setKeyModifierAndCode(KeyModifier keyModifier, InputConstants.Key keyCode) Constructors in net.minecraft.client with parameters of type InputConstants.KeyModifierConstructorDescriptionKeyMapping(String description, IKeyConflictContext keyConflictContext, InputConstants.Key keyCode, String category) Convenience constructor for creating KeyBindings with keyConflictContext set.KeyMapping(String description, IKeyConflictContext keyConflictContext, KeyModifier keyModifier, InputConstants.Key keyCode, String category) Convenience constructor for creating KeyBindings with keyConflictContext and keyModifier set.
- 
Uses of InputConstants.Key in net.neoforged.neoforge.client.extensionsMethods in net.neoforged.neoforge.client.extensions that return InputConstants.KeyMethods in net.neoforged.neoforge.client.extensions with parameters of type InputConstants.KeyModifier and TypeMethodDescriptiondefault booleanIKeyMappingExtension.isActiveAndMatches(InputConstants.Key keyCode) Returns true if the key conflict context and modifier are active and the keyCode matches this binding, false otherwise.voidIKeyMappingExtension.setKeyModifierAndCode(KeyModifier keyModifier, InputConstants.Key keyCode) 
- 
Uses of InputConstants.Key in net.neoforged.neoforge.client.settingsFields in net.neoforged.neoforge.client.settings with type parameters of type InputConstants.KeyModifier and TypeFieldDescriptionprivate static final EnumMap<KeyModifier,Map<InputConstants.Key, Collection<KeyMapping>>> KeyMappingLookup.mapMethods in net.neoforged.neoforge.client.settings with parameters of type InputConstants.KeyModifier and TypeMethodDescriptionprivate List<KeyMapping>KeyMappingLookup.findKeybinds(InputConstants.Key keyCode, KeyModifier modifier) @Nullable KeyMappingKeyMappingLookup.get(InputConstants.Key keyCode) Deprecated, for removal: This API element is subject to removal in a future version.private @Nullable KeyMappingKeyMappingLookup.get(InputConstants.Key keyCode, KeyModifier keyModifier) Deprecated, for removal: This API element is subject to removal in a future version.KeyMappingLookup.getAll(InputConstants.Key keyCode) Returns all active keys associated with the given key code and the active modifiers and conflict context.abstract ComponentKeyModifier.getCombinedName(InputConstants.Key key, Supplier<Component> defaultLogic) static booleanKeyModifier.isKeyCodeModifier(InputConstants.Key key) abstract booleanKeyModifier.matches(InputConstants.Key key) voidKeyMappingLookup.put(InputConstants.Key keyCode, KeyMapping keyBinding)