mirror of https://github.com/FabricMC/yarn.git
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:
parent
4d9605e519
commit
732d70e376
|
@ -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
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue