Uses of Class
net.minecraft.client.KeyMapping
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Extension interfaces for
client
-only classes.-
Uses of KeyMapping in net.minecraft.client
Modifier and TypeFieldDescriptionfinal KeyMapping
Options.keyAdvancements
final KeyMapping
Options.keyAttack
final KeyMapping
Options.keyChat
final KeyMapping
Options.keyCommand
final KeyMapping
Options.keyDown
final KeyMapping
Options.keyDrop
final KeyMapping
Options.keyFullscreen
final KeyMapping[]
Options.keyHotbarSlots
final KeyMapping
Options.keyInventory
final KeyMapping
Options.keyJump
final KeyMapping
Options.keyLeft
final KeyMapping
Options.keyLoadHotbarActivator
Options.keyMappings
final KeyMapping
Options.keyPickItem
final KeyMapping
Options.keyPlayerList
final KeyMapping
Options.keyRight
final KeyMapping
Options.keySaveHotbarActivator
final KeyMapping
Options.keyScreenshot
final KeyMapping
Options.keyShift
final KeyMapping
Options.keySmoothCamera
final KeyMapping
Options.keySocialInteractions
final KeyMapping
Options.keySpectatorOutlines
final KeyMapping
Options.keySprint
final KeyMapping
Options.keySwapOffhand
final KeyMapping
Options.keyTogglePerspective
final KeyMapping
Options.keyUp
final KeyMapping
Options.keyUse
Modifier and TypeMethodDescriptionint
KeyMapping.compareTo
(KeyMapping p_90841_) boolean
KeyMapping.same
(KeyMapping p_90851_) void
Options.setKey
(KeyMapping p_92160_, InputConstants.Key p_92161_) -
Uses of KeyMapping in net.minecraft.client.gui.screens.controls
Modifier and TypeFieldDescriptionprivate final KeyMapping
KeyBindsList.KeyEntry.key
KeyBindsScreen.selectedKey
ModifierConstructorDescription(package private)
KeyEntry
(KeyMapping p_193916_, Component p_193917_) -
Uses of KeyMapping in net.minecraftforge.client
Modifier and TypeMethodDescriptionForgeHooksClient.onClickInput
(int button, KeyMapping keyBinding, InteractionHand hand) -
Uses of KeyMapping in net.minecraftforge.client.event
Modifier and TypeFieldDescriptionprivate final KeyMapping
InputEvent.InteractionKeyMappingTriggered.keyMapping
Modifier and TypeMethodDescriptionInputEvent.InteractionKeyMappingTriggered.getKeyMapping()
Returns the key mapping which triggered this event.Modifier and TypeMethodDescriptionvoid
RegisterKeyMappingsEvent.register
(KeyMapping key) Registers a new key mapping.ModifierConstructorDescriptionInteractionKeyMappingTriggered
(int button, KeyMapping keyMapping, InteractionHand hand) -
Uses of KeyMapping in net.minecraftforge.client.extensions
Modifier and TypeMethodDescriptiondefault boolean
IForgeKeyMapping.hasKeyModifierConflict
(KeyMapping other) Returns true when one of the bindings' key codes conflicts with the other's modifier. -
Uses of KeyMapping in net.minecraftforge.client.settings
Modifier and TypeFieldDescriptionprivate static final EnumMap<KeyModifier,
Map<InputConstants.Key, Collection<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.Modifier and TypeMethodDescriptionKeyMappingLookup.getAll
(InputConstants.Key keyCode) Returns all active keys associated with the given key code and the active modifiers and conflict context.Modifier and TypeMethodDescriptionvoid
KeyMappingLookup.put
(InputConstants.Key keyCode, KeyMapping keyBinding) void
KeyMappingLookup.remove
(KeyMapping keyBinding)