mirror of https://github.com/FabricMC/yarn.git
Use suffixes for key binding fields in the GameOptions class (#2895)
Fixes #2888
This commit is contained in:
parent
26c319461b
commit
089b68aa24
|
@ -112,7 +112,7 @@ CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient
|
|||
FIELD field_1750 lastMetricsSampleTime J
|
||||
FIELD field_1751 blockColors Lnet/minecraft/class_324;
|
||||
FIELD field_1752 itemUseCooldown I
|
||||
COMMENT The cooldown for using items when {@linkplain net.minecraft.client.option.GameOptions#keyUse the item use button} is held down.
|
||||
COMMENT The cooldown for using items when {@linkplain net.minecraft.client.option.GameOptions#useKey the item use button} is held down.
|
||||
FIELD field_1755 currentScreen Lnet/minecraft/class_437;
|
||||
COMMENT The Minecraft client's currently open screen.
|
||||
COMMENT This field should only be used to get the current screen.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
CLASS net/minecraft/class_355 net/minecraft/client/gui/hud/PlayerListHud
|
||||
COMMENT Responsible for rendering the player list while the {@linkplain
|
||||
COMMENT net.minecraft.client.option.GameOptions#keyPlayerList player list
|
||||
COMMENT net.minecraft.client.option.GameOptions#playerListKey player list
|
||||
COMMENT key} is pressed.
|
||||
COMMENT
|
||||
COMMENT <p>The current instance used by the client can be obtained by {@code
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
CLASS net/minecraft/class_408 net/minecraft/client/gui/screen/ChatScreen
|
||||
COMMENT A screen that allows player to input a chat message. It can be opened by
|
||||
COMMENT pressing {@linkplain net.minecraft.client.option.GameOptions#keyChat the
|
||||
COMMENT chat key} or {@linkplain net.minecraft.client.option.GameOptions#keyCommand
|
||||
COMMENT pressing {@linkplain net.minecraft.client.option.GameOptions#chatKey the
|
||||
COMMENT chat key} or {@linkplain net.minecraft.client.option.GameOptions#commandKey
|
||||
COMMENT the command key}.
|
||||
COMMENT
|
||||
COMMENT @see net.minecraft.client.gui.hud.ChatHud
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
CLASS net/minecraft/class_315 net/minecraft/client/option/GameOptions
|
||||
FIELD field_1814 cloudRenderMode Lnet/minecraft/class_4063;
|
||||
FIELD field_1815 hideServerAddress Z
|
||||
FIELD field_1816 keySmoothCamera Lnet/minecraft/class_304;
|
||||
FIELD field_1816 smoothCameraKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for toggling smooth camera.
|
||||
COMMENT Not bound to any keys by default.
|
||||
FIELD field_1817 chatLinksPrompt Z
|
||||
FIELD field_1818 showSubtitles Z
|
||||
FIELD field_1819 forceUnicodeFont Z
|
||||
FIELD field_1820 chatOpacity D
|
||||
FIELD field_1822 keyInventory Lnet/minecraft/class_304;
|
||||
FIELD field_1822 inventoryKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for opening {@linkplain net.minecraft.client.gui.screen.ingame.InventoryScreen the inventory screen}.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_E the E key} by default.
|
||||
FIELD field_1823 GSON Lcom/google/gson/Gson;
|
||||
FIELD field_1824 keyTogglePerspective Lnet/minecraft/class_304;
|
||||
FIELD field_1824 togglePerspectiveKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for toggling perspective.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_F5 the F5 key} by default.
|
||||
FIELD field_1825 chatHeightUnfocused D
|
||||
|
@ -21,25 +21,25 @@ CLASS net/minecraft/class_315 net/minecraft/client/option/GameOptions
|
|||
FIELD field_1828 fullscreenResolution Ljava/lang/String;
|
||||
FIELD field_1829 mainArm Lnet/minecraft/class_1306;
|
||||
FIELD field_1830 realmsNotifications Z
|
||||
FIELD field_1831 keySwapHands Lnet/minecraft/class_304;
|
||||
FIELD field_1831 swapHandsKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for swapping the items in the selected slot and the off hand.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_F the F key} by default.
|
||||
COMMENT
|
||||
COMMENT <p>The selected slot is the slot the mouse is over when in a screen.
|
||||
COMMENT Otherwise, it is the main hand.
|
||||
FIELD field_1832 keySneak Lnet/minecraft/class_304;
|
||||
FIELD field_1832 sneakKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for sneaking.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_LEFT_SHIFT the left shift key} by default.
|
||||
FIELD field_1834 LOGGER Lorg/slf4j/Logger;
|
||||
FIELD field_1835 keyScreenshot Lnet/minecraft/class_304;
|
||||
FIELD field_1835 screenshotKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for taking a screenshot.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_F2 the F2 key} by default.
|
||||
FIELD field_1836 keyFullscreen Lnet/minecraft/class_304;
|
||||
FIELD field_1836 fullscreenKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for toggling fullscreen.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_F11 the F11 key} by default.
|
||||
FIELD field_1837 pauseOnLostFocus Z
|
||||
FIELD field_1838 chatHeightFocused D
|
||||
FIELD field_1839 keysAll [Lnet/minecraft/class_304;
|
||||
FIELD field_1839 allKeys [Lnet/minecraft/class_304;
|
||||
COMMENT An array of all key bindings.
|
||||
COMMENT
|
||||
COMMENT <p>Key bindings in this array are shown and can be configured in
|
||||
|
@ -49,20 +49,20 @@ CLASS net/minecraft/class_315 net/minecraft/client/option/GameOptions
|
|||
FIELD field_1841 ao Lnet/minecraft/class_4060;
|
||||
FIELD field_1842 hudHidden Z
|
||||
FIELD field_1843 mouseSensitivity D
|
||||
FIELD field_1844 keyAdvancements Lnet/minecraft/class_304;
|
||||
FIELD field_1844 advancementsKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for opening {@linkplain net.minecraft.client.gui.screen.advancement.AdvancementsScreen the advancements screen}.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_L the L key} by default.
|
||||
FIELD field_1845 keyCommand Lnet/minecraft/class_304;
|
||||
FIELD field_1845 commandKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for opening {@linkplain net.minecraft.client.gui.screen.ChatScreen
|
||||
COMMENT the chat screen} with the {@code /} already typed.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_SLASH the slash key} by default.
|
||||
FIELD field_1846 incompatibleResourcePacks Ljava/util/List;
|
||||
FIELD field_1848 autoJump Z
|
||||
FIELD field_1849 keyRight Lnet/minecraft/class_304;
|
||||
FIELD field_1849 rightKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for moving right.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_D the D key} by default.
|
||||
FIELD field_1851 difficulty Lnet/minecraft/class_1267;
|
||||
FIELD field_1852 keysHotbar [Lnet/minecraft/class_304;
|
||||
FIELD field_1852 hotbarKeys [Lnet/minecraft/class_304;
|
||||
COMMENT Key bindings for selecting hotbar slots.
|
||||
COMMENT Bound to the corresponding number keys (from {@linkplain
|
||||
COMMENT org.lwjgl.glfw.GLFW#GLFW_KEY_1 the 1 key} to {@linkplain
|
||||
|
@ -76,18 +76,18 @@ CLASS net/minecraft/class_315 net/minecraft/client/option/GameOptions
|
|||
FIELD field_1864 lastServer Ljava/lang/String;
|
||||
FIELD field_1865 invertYMouse Z
|
||||
FIELD field_1866 debugEnabled Z
|
||||
FIELD field_1867 keySprint Lnet/minecraft/class_304;
|
||||
FIELD field_1867 sprintKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for sprinting.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_LEFT_CONTROL the left control key} by default.
|
||||
FIELD field_1868 guiScale I
|
||||
FIELD field_1869 keyDrop Lnet/minecraft/class_304;
|
||||
FIELD field_1869 dropKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for dropping the item in the selected slot.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_Q the Q key} by default.
|
||||
COMMENT
|
||||
COMMENT <p>The selected slot is the slot the mouse is over when in a screen.
|
||||
COMMENT Otherwise, it is the main hand.
|
||||
FIELD field_1870 viewDistance I
|
||||
FIELD field_1871 keyPickItem Lnet/minecraft/class_304;
|
||||
FIELD field_1871 pickItemKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for holding an item corresponding to the {@linkplain net.minecraft.entity.Entity#getPickBlockStack() entity}
|
||||
COMMENT or {@linkplain net.minecraft.block.Block#getPickStack(net.minecraft.world.BlockView,
|
||||
COMMENT net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState) block} the player is looking at.
|
||||
|
@ -96,37 +96,37 @@ CLASS net/minecraft/class_315 net/minecraft/client/option/GameOptions
|
|||
FIELD field_18726 textBackgroundOpacity D
|
||||
FIELD field_1872 overrideWidth I
|
||||
FIELD field_1873 autoSuggestions Z
|
||||
FIELD field_1874 keyLoadToolbarActivator Lnet/minecraft/class_304;
|
||||
FIELD field_1874 loadToolbarActivatorKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for loading the hotbar items in {@linkplain net.minecraft.world.GameMode#CREATIVE creative mode}.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_X the X key} by default.
|
||||
FIELD field_1875 tutorialStep Lnet/minecraft/class_1157;
|
||||
FIELD field_1876 useNativeTransport Z
|
||||
FIELD field_1877 chatVisibility Lnet/minecraft/class_1659;
|
||||
FIELD field_1878 biomeBlendRadius I
|
||||
FIELD field_1879 keySaveToolbarActivator Lnet/minecraft/class_304;
|
||||
FIELD field_1879 saveToolbarActivatorKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for saving the hotbar items in {@linkplain net.minecraft.world.GameMode#CREATIVE creative mode}.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_C the C key} by default.
|
||||
FIELD field_1880 debugProfilerEnabled Z
|
||||
FIELD field_1881 keyBack Lnet/minecraft/class_304;
|
||||
FIELD field_1881 backKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for moving backward.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_S the S key} by default.
|
||||
FIELD field_1882 particles Lnet/minecraft/class_4066;
|
||||
FIELD field_1883 language Ljava/lang/String;
|
||||
FIELD field_1884 enableVsync Z
|
||||
FIELD field_1885 overrideHeight I
|
||||
FIELD field_1886 keyAttack Lnet/minecraft/class_304;
|
||||
FIELD field_1886 attackKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for attacking an entity or breaking a block.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_MOUSE_BUTTON_LEFT the left mouse button} by default.
|
||||
FIELD field_1887 resourcePacks Ljava/util/List;
|
||||
FIELD field_1888 entityShadows Z
|
||||
FIELD field_1889 mouseWheelSensitivity D
|
||||
FIELD field_1890 keyChat Lnet/minecraft/class_304;
|
||||
FIELD field_1890 chatKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for opening {@linkplain net.minecraft.client.gui.screen.ChatScreen the chat screen}.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_T the T key} by default.
|
||||
FIELD field_1891 bobView Z
|
||||
FIELD field_1892 enabledPlayerModelParts Ljava/util/Set;
|
||||
FIELD field_1893 debugTpsEnabled Z
|
||||
FIELD field_1894 keyForward Lnet/minecraft/class_304;
|
||||
FIELD field_1894 forwardKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for moving forward.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_W the W key} by default.
|
||||
FIELD field_1895 attackIndicator Lnet/minecraft/class_4061;
|
||||
|
@ -134,24 +134,24 @@ CLASS net/minecraft/class_315 net/minecraft/client/option/GameOptions
|
|||
FIELD field_1897 optionsFile Ljava/io/File;
|
||||
FIELD field_1900 chatColors Z
|
||||
FIELD field_1901 glDebugVerbosity I
|
||||
FIELD field_1903 keyJump Lnet/minecraft/class_304;
|
||||
FIELD field_1903 jumpKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for jumping.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_SPACE the space key} by default.
|
||||
FIELD field_1904 keyUse Lnet/minecraft/class_304;
|
||||
FIELD field_1904 useKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for using an item, such as placing a block.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_MOUSE_BUTTON_RIGHT the right mouse button} by default.
|
||||
FIELD field_1905 heldItemTooltips Z
|
||||
FIELD field_1906 keySpectatorOutlines Lnet/minecraft/class_304;
|
||||
FIELD field_1906 spectatorOutlinesKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for highlighting players in {@linkplain net.minecraft.world.GameMode#SPECTATOR spectator mode}.
|
||||
COMMENT Not bound to any keys by default.
|
||||
FIELD field_1907 keyPlayerList Lnet/minecraft/class_304;
|
||||
FIELD field_1907 playerListKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for displaying {@linkplain net.minecraft.client.gui.hud.PlayerListHud the player list}.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_TAB the tab key} by default.
|
||||
FIELD field_1908 chatScale D
|
||||
FIELD field_1909 maxFps I
|
||||
FIELD field_1910 reducedDebugInfo Z
|
||||
FIELD field_1911 chatLinks Z
|
||||
FIELD field_1913 keyLeft Lnet/minecraft/class_304;
|
||||
FIELD field_1913 leftKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for moving left.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_A the A key} by default.
|
||||
FIELD field_1914 smoothCameraEnabled Z
|
||||
|
@ -171,7 +171,7 @@ CLASS net/minecraft/class_315 net/minecraft/client/option/GameOptions
|
|||
FIELD field_26676 fovEffectScale F
|
||||
FIELD field_26677 perspective Lnet/minecraft/class_5498;
|
||||
FIELD field_26844 joinedFirstServer Z
|
||||
FIELD field_26845 keySocialInteractions Lnet/minecraft/class_304;
|
||||
FIELD field_26845 socialInteractionsKey Lnet/minecraft/class_304;
|
||||
COMMENT A key binding for opening {@linkplain net.minecraft.client.gui.screen.multiplayer.SocialInteractionsScreen the social interactions screen}.
|
||||
COMMENT Bound to {@linkplain org.lwjgl.glfw.GLFW#GLFW_KEY_P the P key} by default.
|
||||
FIELD field_26926 hideMatchedNames Z
|
||||
|
|
Loading…
Reference in New Issue