Uses of Class
net.minecraft.client.option.KeyBinding
-
Uses of KeyBinding in net.minecraft.client.gui.screen.option
Modifier and TypeFieldDescriptionprivate final KeyBinding
ControlsListWidget.KeyBindingEntry.binding
@Nullable KeyBinding
KeybindsScreen.selectedKeyBinding
ModifierConstructorDescription(package private)
KeyBindingEntry
(KeyBinding binding, Text bindingName) -
Uses of KeyBinding in net.minecraft.client.option
Modifier and TypeFieldDescriptionfinal KeyBinding
GameOptions.advancementsKey
A key binding for opening the advancements screen.final KeyBinding[]
GameOptions.allKeys
An array of all key bindings.final KeyBinding
GameOptions.attackKey
A key binding for attacking an entity or breaking a block.final KeyBinding
GameOptions.backKey
A key binding for moving backward.final KeyBinding
GameOptions.chatKey
A key binding for opening the chat screen.final KeyBinding
GameOptions.commandKey
A key binding for opening the chat screen with the/
already typed.final KeyBinding
GameOptions.dropKey
A key binding for dropping the item in the selected slot.final KeyBinding
GameOptions.forwardKey
A key binding for moving forward.final KeyBinding
GameOptions.fullscreenKey
A key binding for toggling fullscreen.final KeyBinding[]
GameOptions.hotbarKeys
Key bindings for selecting hotbar slots.final KeyBinding
GameOptions.inventoryKey
A key binding for opening the inventory screen.final KeyBinding
GameOptions.jumpKey
A key binding for jumping.final KeyBinding
GameOptions.leftKey
A key binding for moving left.final KeyBinding
GameOptions.loadToolbarActivatorKey
A key binding for loading the hotbar items in creative mode.final KeyBinding
GameOptions.pickItemKey
final KeyBinding
GameOptions.playerListKey
A key binding for displaying the player list.final KeyBinding
GameOptions.rightKey
A key binding for moving right.final KeyBinding
GameOptions.saveToolbarActivatorKey
A key binding for saving the hotbar items in creative mode.final KeyBinding
GameOptions.screenshotKey
A key binding for taking a screenshot.final KeyBinding
GameOptions.smoothCameraKey
A key binding for toggling smooth camera.final KeyBinding
GameOptions.sneakKey
A key binding for sneaking.final KeyBinding
GameOptions.socialInteractionsKey
A key binding for opening the social interactions screen.final KeyBinding
GameOptions.spectatorOutlinesKey
A key binding for highlighting players in spectator mode.final KeyBinding
GameOptions.sprintKey
A key binding for sprinting.final KeyBinding
GameOptions.swapHandsKey
A key binding for swapping the items in the selected slot and the off hand.final KeyBinding
GameOptions.togglePerspectiveKey
A key binding for toggling perspective.final KeyBinding
GameOptions.useKey
A key binding for using an item, such as placing a block.Modifier and TypeFieldDescriptionprivate static final Map<InputUtil.Key,
KeyBinding> KeyBinding.KEY_TO_BINDINGS
private static final Map<String,
KeyBinding> KeyBinding.KEYS_BY_ID
Modifier and TypeMethodDescriptionint
KeyBinding.compareTo
(KeyBinding keyBinding) boolean
KeyBinding.equals
(KeyBinding other) void
GameOptions.setKeyCode
(KeyBinding key, InputUtil.Key code)