Created
January 2, 2021 19:58
-
-
Save zml2008/1ee644dc9326bb1a55c28c64d7fa8ac8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.kyori.adventure.data.vanilla; | |
import net.kyori.adventure.text.Component; | |
import net.kyori.adventure.text.KeybindComponent; | |
/** | |
* Key binding IDs known by the vanilla <em>Minecraft: Java Edition</em> client, version 1.14.4. | |
*/ | |
public final class VanillaKeyBindings { | |
public static final KeybindComponent ADVANCEMENTS = Component.keybind("key.advancements"); | |
public static final KeybindComponent ATTACK = Component.keybind("key.attack"); | |
public static final KeybindComponent BACK = Component.keybind("key.back"); | |
public static final KeybindComponent CHAT = Component.keybind("key.chat"); | |
public static final KeybindComponent COMMAND = Component.keybind("key.command"); | |
public static final KeybindComponent DROP = Component.keybind("key.drop"); | |
public static final KeybindComponent FORWARD = Component.keybind("key.forward"); | |
public static final KeybindComponent FULLSCREEN = Component.keybind("key.fullscreen"); | |
public static final KeybindComponent HOTBAR_1 = Component.keybind("key.hotbar.1"); | |
public static final KeybindComponent HOTBAR_2 = Component.keybind("key.hotbar.2"); | |
public static final KeybindComponent HOTBAR_3 = Component.keybind("key.hotbar.3"); | |
public static final KeybindComponent HOTBAR_4 = Component.keybind("key.hotbar.4"); | |
public static final KeybindComponent HOTBAR_5 = Component.keybind("key.hotbar.5"); | |
public static final KeybindComponent HOTBAR_6 = Component.keybind("key.hotbar.6"); | |
public static final KeybindComponent HOTBAR_7 = Component.keybind("key.hotbar.7"); | |
public static final KeybindComponent HOTBAR_8 = Component.keybind("key.hotbar.8"); | |
public static final KeybindComponent HOTBAR_9 = Component.keybind("key.hotbar.9"); | |
public static final KeybindComponent INVENTORY = Component.keybind("key.inventory"); | |
public static final KeybindComponent JUMP = Component.keybind("key.jump"); | |
public static final KeybindComponent LEFT = Component.keybind("key.left"); | |
public static final KeybindComponent LOAD_TOOLBAR_ACTIVATOR = Component.keybind("key.loadToolbarActivator"); | |
public static final KeybindComponent PICK_ITEM = Component.keybind("key.pickItem"); | |
public static final KeybindComponent PLAYERLIST = Component.keybind("key.playerlist"); | |
public static final KeybindComponent RIGHT = Component.keybind("key.right"); | |
public static final KeybindComponent SAVE_TOOLBAR_ACTIVATOR = Component.keybind("key.saveToolbarActivator"); | |
public static final KeybindComponent SCREENSHOT = Component.keybind("key.screenshot"); | |
public static final KeybindComponent SMOOTH_CAMERA = Component.keybind("key.smoothCamera"); | |
public static final KeybindComponent SNEAK = Component.keybind("key.sneak"); | |
public static final KeybindComponent SPECTATOR_OUTLINES = Component.keybind("key.spectatorOutlines"); | |
public static final KeybindComponent SPRINT = Component.keybind("key.sprint"); | |
public static final KeybindComponent SWAP_HANDS = Component.keybind("key.swapHands"); | |
public static final KeybindComponent TOGGLE_PERSPECTIVE = Component.keybind("key.togglePerspective"); | |
public static final KeybindComponent USE = Component.keybind("key.use"); | |
private VanillaKeyBindings() { | |
throw new AssertionError(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment