Map class and methods in NarratorOptionsScreen (#1776)

* Map class and methods in NarratorOptionsScreen

* fix package

* screen -> parent and findOptionButton -> getButtonFor
This commit is contained in:
Tom_The_Geek 2020-10-11 21:39:08 +01:00 committed by GitHub
parent 4d9605e519
commit 732d70e376
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 0 deletions

View File

@ -5,3 +5,6 @@ CLASS net/minecraft/class_4667 net/minecraft/client/gui/screen/options/GameOptio
ARG 1 parent
ARG 2 gameOptions
ARG 3 title
METHOD method_31048 getHoveredButtonTooltip (Lnet/minecraft/class_353;II)Ljava/util/List;
ARG 1 mouseX
ARG 2 mouseY

View File

@ -0,0 +1,10 @@
CLASS net/minecraft/class_5500 net/minecraft/client/gui/screen/options/NarratorOptionsScreen
FIELD field_26679 options [Lnet/minecraft/class_316;
FIELD field_26680 narratorButton Lnet/minecraft/class_339;
FIELD field_26681 buttonList Lnet/minecraft/class_353;
METHOD <init> (Lnet/minecraft/class_437;Lnet/minecraft/class_315;Lnet/minecraft/class_2561;[Lnet/minecraft/class_316;)V
ARG 1 parent
ARG 2 gameOptions
ARG 3 title
ARG 4 options
METHOD method_31050 updateNarratorButtonText ()V

View File

@ -9,6 +9,7 @@ CLASS net/minecraft/class_353 net/minecraft/client/gui/widget/ButtonListWidget
METHOD method_29624 getHoveredButton (DD)Ljava/util/Optional;
ARG 1 mouseX
ARG 3 mouseY
METHOD method_31046 getButtonFor (Lnet/minecraft/class_316;)Lnet/minecraft/class_339;
CLASS class_354 ButtonEntry
FIELD field_18214 buttons Ljava/util/List;
METHOD <init> (Ljava/util/List;)V