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.options.controls
Modifier and TypeFieldDescriptionprivate final KeyMapping
KeyBindsList.KeyEntry.key
KeyBindsScreen.selectedKey
ModifierConstructorDescription(package private)
KeyEntry
(KeyMapping p_345998_, Component p_345196_) -
Uses of KeyMapping in net.neoforged.neoforge.client
Modifier and TypeMethodDescriptionClientHooks.onClickInput
(int button, KeyMapping keyBinding, InteractionHand hand) -
Uses of KeyMapping in net.neoforged.neoforge.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.neoforged.neoforge.client.extensions
Modifier and TypeMethodDescriptiondefault boolean
IKeyMappingExtension.hasKeyModifierConflict
(KeyMapping other) Returns true when one of the bindings' key codes conflicts with the other's modifier. -
Uses of KeyMapping in net.neoforged.neoforge.client.settings
Modifier and TypeFieldDescriptionprivate static final EnumMap
<KeyModifier, Map<InputConstants.Key, Collection<KeyMapping>>> KeyMappingLookup.map
Modifier and TypeMethodDescriptionprivate List
<KeyMapping> KeyMappingLookup.findKeybinds
(InputConstants.Key keyCode, KeyModifier modifier) KeyMappingLookup.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)