Uses of Class
com.mojang.blaze3d.platform.InputConstants.Key
Package
Description
Extension interfaces for
client
-only classes.-
Uses of InputConstants.Key in com.mojang.blaze3d.platform
Modifier 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_MAP
Modifier and TypeMethodDescriptionstatic InputConstants.Key
InputConstants.getKey
(int p_84828_, int p_84829_) static InputConstants.Key
InputConstants.Type.getOrCreate
(int p_84896_) -
Uses of InputConstants.Key in net.minecraft.client
Modifier and TypeFieldDescriptionprivate final InputConstants.Key
KeyMapping.defaultKey
private InputConstants.Key
KeyMapping.key
Modifier and TypeMethodDescriptionstatic void
KeyMapping.click
(InputConstants.Key p_90836_) static void
KeyMapping.set
(InputConstants.Key p_90838_, boolean p_90839_) void
KeyMapping.setKey
(InputConstants.Key p_90849_) void
Options.setKey
(KeyMapping p_92160_, InputConstants.Key p_92161_) void
KeyMapping.setKeyModifierAndCode
(KeyModifier keyModifier, InputConstants.Key keyCode) ModifierConstructorDescriptionKeyMapping
(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.minecraftforge.client.extensions
Modifier and TypeMethodDescriptiondefault boolean
IForgeKeyMapping.isActiveAndMatches
(InputConstants.Key keyCode) Returns true if the key conflict context and modifier are active and the keyCode matches this binding, false otherwise.void
IForgeKeyMapping.setKeyModifierAndCode
(KeyModifier keyModifier, InputConstants.Key keyCode) -
Uses of InputConstants.Key in net.minecraftforge.client.settings
Modifier and TypeFieldDescriptionprivate static final EnumMap<KeyModifier,
Map<InputConstants.Key, List<KeyMapping>>> KeyMappingLookup.map
Modifier and TypeMethodDescription@Nullable KeyMapping
KeyMappingLookup.get
(InputConstants.Key keyCode) Deprecated, for removal: This API element is subject to removal in a future version.private @Nullable KeyMapping
KeyMappingLookup.get
(InputConstants.Key keyCode, KeyModifier keyModifier) Deprecated, for removal: This API element is subject to removal in a future version.private List<KeyMapping>
KeyMappingLookup.get
(KeyModifier modifier, InputConstants.Key keyCode) KeyMappingLookup.getAll
(InputConstants.Key keyCode) Returns all active keys associated with the given key code and the active modifiers and conflict context.abstract Component
KeyModifier.getCombinedName
(InputConstants.Key key, Supplier<Component> defaultLogic) static @Nullable KeyModifier
KeyModifier.getModifier
(InputConstants.Key key) static boolean
KeyModifier.isKeyCodeModifier
(InputConstants.Key key) abstract boolean
KeyModifier.matches
(InputConstants.Key key) void
KeyMappingLookup.put
(InputConstants.Key keyCode, KeyMapping keyBinding)