Unpick key binding categories (#2817)

* Unpick key binding categories

* Unpick key categories of StickyKeyBindings
This commit is contained in:
Juuxel 2021-11-10 13:54:51 +02:00 committed by GitHub
parent d2e21c7a27
commit 870f70f039
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -130,6 +130,14 @@ constant key_codes org/lwjgl/glfw/GLFW GLFW_KEY_PRINT_SCREEN
constant key_codes org/lwjgl/glfw/GLFW GLFW_KEY_WORLD_1
constant key_codes org/lwjgl/glfw/GLFW GLFW_KEY_WORLD_2
constant key_categories net/minecraft/client/option/KeyBinding MOVEMENT_CATEGORY
constant key_categories net/minecraft/client/option/KeyBinding MISC_CATEGORY
constant key_categories net/minecraft/client/option/KeyBinding MULTIPLAYER_CATEGORY
constant key_categories net/minecraft/client/option/KeyBinding GAMEPLAY_CATEGORY
constant key_categories net/minecraft/client/option/KeyBinding INVENTORY_CATEGORY
constant key_categories net/minecraft/client/option/KeyBinding UI_CATEGORY
constant key_categories net/minecraft/client/option/KeyBinding CREATIVE_CATEGORY
target_method net/minecraft/client/util/InputUtil$Type mapKey (Lnet/minecraft/client/util/InputUtil$Type;Ljava/lang/String;I)V
param 2 key_codes
target_method net/minecraft/client/util/InputUtil$Type createFromCode (I)Lnet/minecraft/client/util/InputUtil$Key;
@ -144,14 +152,19 @@ target_method net/minecraft/client/util/InputUtil fromKeyCode (II)Lnet/minecraft
param 0 key_codes
target_method net/minecraft/client/option/KeyBinding <init> (Ljava/lang/String;ILjava/lang/String;)V
param 1 key_codes
param 2 key_categories
target_method net/minecraft/client/option/KeyBinding <init> (Ljava/lang/String;Lnet/minecraft/client/util/InputUtil$Type;ILjava/lang/String;)V
param 2 key_codes
param 3 key_categories
target_method net/minecraft/client/option/KeyBinding matchesKey (II)Z
param 0 key_codes
target_method net/minecraft/client/option/KeyBinding matchesMouse (I)Z
param 0 key_codes
target_method net/minecraft/client/option/KeyBinding getCategory ()Ljava/lang/String;
return key_categories
target_method net/minecraft/client/option/StickyKeyBinding <init> (Ljava/lang/String;ILjava/lang/String;Ljava/util/function/BooleanSupplier;)V
param 1 key_codes
param 2 key_categories
target_method net/minecraft/client/gui/Element keyPressed (III)Z
param 0 key_codes
target_method net/minecraft/client/gui/Element keyReleased (III)Z