From e439ad29e03cb4da4f563a9361e404f7c73a93f8 Mon Sep 17 00:00:00 2001 From: enbrain <69905075+enbrain@users.noreply.github.com> Date: Mon, 2 Nov 2020 07:52:30 +0900 Subject: [PATCH] Add mappings for option screens (#1820) * Add mappings for option screens * button -> buttonList Co-authored-by: YanisBft Co-authored-by: YanisBft --- .../AccessibilityOptionsScreen.mapping | 6 +++++ .../screen/options/ControlsListWidget.mapping | 4 +++ .../options/ControlsOptionsScreen.mapping | 6 +++++ .../screen/options/GameOptionsScreen.mapping | 1 + .../options/LanguageOptionsScreen.mapping | 5 ++++ .../screen/options/MouseOptionsScreen.mapping | 2 ++ .../options/NarratorOptionsScreen.mapping | 3 +++ .../gui/screen/options/OptionsScreen.mapping | 26 +++++++++++++++++++ .../screen/options/SkinOptionsScreen.mapping | 6 +++++ .../screen/options/SoundOptionsScreen.mapping | 4 +++ 10 files changed, 63 insertions(+) diff --git a/mappings/net/minecraft/client/gui/screen/options/AccessibilityOptionsScreen.mapping b/mappings/net/minecraft/client/gui/screen/options/AccessibilityOptionsScreen.mapping index 58b6aa9eb6..a46a9dc99b 100644 --- a/mappings/net/minecraft/client/gui/screen/options/AccessibilityOptionsScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/options/AccessibilityOptionsScreen.mapping @@ -3,3 +3,9 @@ CLASS net/minecraft/class_4189 net/minecraft/client/gui/screen/options/Accessibi METHOD (Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V ARG 1 parent ARG 2 gameOptions + METHOD method_31384 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_31385 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_31386 (Z)V + ARG 1 openInBrowser diff --git a/mappings/net/minecraft/client/gui/screen/options/ControlsListWidget.mapping b/mappings/net/minecraft/client/gui/screen/options/ControlsListWidget.mapping index 42def71bef..0fb6c32046 100644 --- a/mappings/net/minecraft/client/gui/screen/options/ControlsListWidget.mapping +++ b/mappings/net/minecraft/client/gui/screen/options/ControlsListWidget.mapping @@ -18,3 +18,7 @@ CLASS net/minecraft/class_459 net/minecraft/client/gui/screen/options/ControlsLi METHOD (Lnet/minecraft/class_459;Lnet/minecraft/class_304;Lnet/minecraft/class_2561;)V ARG 2 binding ARG 3 text + METHOD method_19870 (Lnet/minecraft/class_304;Lnet/minecraft/class_4185;)V + ARG 2 button + METHOD method_19871 (Lnet/minecraft/class_304;Lnet/minecraft/class_4185;)V + ARG 2 button diff --git a/mappings/net/minecraft/client/gui/screen/options/ControlsOptionsScreen.mapping b/mappings/net/minecraft/client/gui/screen/options/ControlsOptionsScreen.mapping index 7c6dbcfa1f..1fbcfb17aa 100644 --- a/mappings/net/minecraft/client/gui/screen/options/ControlsOptionsScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/options/ControlsOptionsScreen.mapping @@ -6,3 +6,9 @@ CLASS net/minecraft/class_458 net/minecraft/client/gui/screen/options/ControlsOp METHOD (Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V ARG 1 parent ARG 2 options + METHOD method_19872 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_19873 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_20412 (Lnet/minecraft/class_4185;)V + ARG 1 button diff --git a/mappings/net/minecraft/client/gui/screen/options/GameOptionsScreen.mapping b/mappings/net/minecraft/client/gui/screen/options/GameOptionsScreen.mapping index 3a7d93d912..691ae44408 100644 --- a/mappings/net/minecraft/client/gui/screen/options/GameOptionsScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/options/GameOptionsScreen.mapping @@ -6,5 +6,6 @@ CLASS net/minecraft/class_4667 net/minecraft/client/gui/screen/options/GameOptio ARG 2 gameOptions ARG 3 title METHOD method_31048 getHoveredButtonTooltip (Lnet/minecraft/class_353;II)Ljava/util/List; + ARG 0 buttonList ARG 1 mouseX ARG 2 mouseY diff --git a/mappings/net/minecraft/client/gui/screen/options/LanguageOptionsScreen.mapping b/mappings/net/minecraft/client/gui/screen/options/LanguageOptionsScreen.mapping index b20d83ddb9..cb77e3b8e8 100644 --- a/mappings/net/minecraft/client/gui/screen/options/LanguageOptionsScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/options/LanguageOptionsScreen.mapping @@ -3,10 +3,15 @@ CLASS net/minecraft/class_426 net/minecraft/client/gui/screen/options/LanguageOp FIELD field_2487 forceUnicodeButton Lnet/minecraft/class_349; FIELD field_2488 languageManager Lnet/minecraft/class_1076; FIELD field_2491 doneButton Lnet/minecraft/class_4185; + FIELD field_26543 WARNING_TEXT Lnet/minecraft/class_2561; METHOD (Lnet/minecraft/class_437;Lnet/minecraft/class_315;Lnet/minecraft/class_1076;)V ARG 1 parent ARG 2 options ARG 3 languageManager + METHOD method_19820 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_19821 (Lnet/minecraft/class_4185;)V + ARG 1 button CLASS class_4195 LanguageSelectionListWidget METHOD (Lnet/minecraft/class_426;Lnet/minecraft/class_310;)V ARG 2 client diff --git a/mappings/net/minecraft/client/gui/screen/options/MouseOptionsScreen.mapping b/mappings/net/minecraft/client/gui/screen/options/MouseOptionsScreen.mapping index 0a6d8ab3cd..649509307e 100644 --- a/mappings/net/minecraft/client/gui/screen/options/MouseOptionsScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/options/MouseOptionsScreen.mapping @@ -4,3 +4,5 @@ CLASS net/minecraft/class_4288 net/minecraft/client/gui/screen/options/MouseOpti METHOD (Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V ARG 1 parent ARG 2 gameOptions + METHOD method_20411 (Lnet/minecraft/class_4185;)V + ARG 1 button diff --git a/mappings/net/minecraft/client/gui/screen/options/NarratorOptionsScreen.mapping b/mappings/net/minecraft/client/gui/screen/options/NarratorOptionsScreen.mapping index 55838adfae..3c86c6e381 100644 --- a/mappings/net/minecraft/client/gui/screen/options/NarratorOptionsScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/options/NarratorOptionsScreen.mapping @@ -7,4 +7,7 @@ CLASS net/minecraft/class_5500 net/minecraft/client/gui/screen/options/NarratorO ARG 2 gameOptions ARG 3 title ARG 4 options + METHOD method_31049 (Lnet/minecraft/class_4185;)V + ARG 1 button METHOD method_31050 updateNarratorButtonText ()V + METHOD method_31387 initFooter ()V diff --git a/mappings/net/minecraft/client/gui/screen/options/OptionsScreen.mapping b/mappings/net/minecraft/client/gui/screen/options/OptionsScreen.mapping index 04450195fb..1662241b1b 100644 --- a/mappings/net/minecraft/client/gui/screen/options/OptionsScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/options/OptionsScreen.mapping @@ -8,7 +8,33 @@ CLASS net/minecraft/class_429 net/minecraft/client/gui/screen/options/OptionsScr METHOD (Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V ARG 1 parent ARG 2 gameOptions + METHOD method_19822 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_19823 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_19824 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_19825 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_19826 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_19827 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_19828 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_19829 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_19830 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_19831 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_19832 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_19833 (Lnet/minecraft/class_4185;)V + ARG 1 button METHOD method_20374 lockDifficulty (Z)V ARG 1 difficultyLocked METHOD method_2189 getDifficultyButtonText (Lnet/minecraft/class_1267;)Lnet/minecraft/class_2561; ARG 1 difficulty + METHOD method_29975 refreshResourcePacks (Lnet/minecraft/class_3283;)V + ARG 1 resourcePackManager diff --git a/mappings/net/minecraft/client/gui/screen/options/SkinOptionsScreen.mapping b/mappings/net/minecraft/client/gui/screen/options/SkinOptionsScreen.mapping index 0e80691003..fd4625b05f 100644 --- a/mappings/net/minecraft/client/gui/screen/options/SkinOptionsScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/options/SkinOptionsScreen.mapping @@ -2,5 +2,11 @@ CLASS net/minecraft/class_440 net/minecraft/client/gui/screen/options/SkinOption METHOD (Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V ARG 1 parent ARG 2 gameOptions + METHOD method_19852 (Lnet/minecraft/class_1664;Lnet/minecraft/class_4185;)V + ARG 2 button + METHOD method_19853 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_19854 (Lnet/minecraft/class_4185;)V + ARG 1 button METHOD method_2248 getPlayerModelPartDisplayString (Lnet/minecraft/class_1664;)Lnet/minecraft/class_2561; ARG 1 part diff --git a/mappings/net/minecraft/client/gui/screen/options/SoundOptionsScreen.mapping b/mappings/net/minecraft/client/gui/screen/options/SoundOptionsScreen.mapping index d48aa3b9b0..d94e93e0a2 100644 --- a/mappings/net/minecraft/client/gui/screen/options/SoundOptionsScreen.mapping +++ b/mappings/net/minecraft/client/gui/screen/options/SoundOptionsScreen.mapping @@ -2,3 +2,7 @@ CLASS net/minecraft/class_443 net/minecraft/client/gui/screen/options/SoundOptio METHOD (Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V ARG 1 parent ARG 2 options + METHOD method_19855 (Lnet/minecraft/class_4185;)V + ARG 1 button + METHOD method_19856 (Lnet/minecraft/class_4185;)V + ARG 1 button