Uses of Class
net.minecraft.client.KeyMapping
Packages that use 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
Subclasses of KeyMapping in net.minecraft.clientFields in net.minecraft.client declared as KeyMappingModifier 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
Fields in net.minecraft.client with type parameters of type KeyMappingMethods in net.minecraft.client with parameters of type KeyMappingModifier 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
Fields in net.minecraft.client.gui.screens.controls declared as KeyMappingModifier and TypeFieldDescriptionprivate final KeyMapping
KeyBindsList.KeyEntry.key
KeyBindsScreen.selectedKey
Constructors in net.minecraft.client.gui.screens.controls with parameters of type KeyMappingModifierConstructorDescription(package private)
KeyEntry
(KeyMapping p_193916_, Component p_193917_) -
Uses of KeyMapping in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client with parameters of type KeyMappingModifier and TypeMethodDescriptionClientHooks.onClickInput
(int button, KeyMapping keyBinding, InteractionHand hand) -
Uses of KeyMapping in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event declared as KeyMappingModifier and TypeFieldDescriptionprivate final KeyMapping
InputEvent.InteractionKeyMappingTriggered.keyMapping
Methods in net.neoforged.neoforge.client.event that return KeyMappingModifier and TypeMethodDescriptionInputEvent.InteractionKeyMappingTriggered.getKeyMapping()
Returns the key mapping which triggered this event.Methods in net.neoforged.neoforge.client.event with parameters of type KeyMappingModifier and TypeMethodDescriptionvoid
RegisterKeyMappingsEvent.register
(KeyMapping key) Registers a new key mapping.Constructors in net.neoforged.neoforge.client.event with parameters of type KeyMappingModifierConstructorDescriptionInteractionKeyMappingTriggered
(int button, KeyMapping keyMapping, InteractionHand hand) -
Uses of KeyMapping in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions that return KeyMappingMethods in net.neoforged.neoforge.client.extensions with parameters of type KeyMappingModifier 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
Fields in net.neoforged.neoforge.client.settings with type parameters of type KeyMappingModifier and TypeFieldDescriptionprivate static final EnumMap<KeyModifier,
Map<InputConstants.Key, Collection<KeyMapping>>> KeyMappingLookup.map
Methods in net.neoforged.neoforge.client.settings that return KeyMappingModifier 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.Methods in net.neoforged.neoforge.client.settings that return types with arguments of type KeyMappingModifier 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.Methods in net.neoforged.neoforge.client.settings with parameters of type KeyMappingModifier and TypeMethodDescriptionvoid
KeyMappingLookup.put
(InputConstants.Key keyCode, KeyMapping keyBinding) void
KeyMappingLookup.remove
(KeyMapping keyBinding)