yarn/mappings/net/minecraft/client/gui/screen/RunningTaskScreen.mapping

33 lines
1.6 KiB
Plaintext

CLASS net/minecraft/class_7534 net/minecraft/client/gui/screen/RunningTaskScreen
COMMENT A screen that can be displayed while running a certain task. The task can be
COMMENT cancelled, and the display can be changed by calling {@code setDisplay} methods after the
COMMENT task succeeded or failed.
FIELD field_39541 TITLE_TEXT_Y I
FIELD field_39542 DESCRIPTION_TEXT_Y I
FIELD field_39543 DESCRIPTION_TEXT_WIDTH I
FIELD field_39544 cancelButtonText Lnet/minecraft/class_2561;
FIELD field_39545 buttonCallback Ljava/lang/Runnable;
FIELD field_39546 description Lnet/minecraft/class_5489;
FIELD field_39547 button Lnet/minecraft/class_4185;
FIELD field_39548 buttonActivationTime J
METHOD <init> (Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Ljava/lang/Runnable;)V
ARG 1 title
ARG 2 cancelButtonText
ARG 3 cancelCallback
METHOD method_44447 (Lnet/minecraft/class_4185;)V
ARG 1 button
METHOD method_44448 replaceButton (Lnet/minecraft/class_2561;)V
ARG 1 buttonText
METHOD method_44449 setDisplay (Lnet/minecraft/class_2561;Ljava/lang/Runnable;)V
COMMENT Removes the description and changes the button text and callback to the provided one.
COMMENT The button will be deactivated for 1 second after calling this.
ARG 1 buttonText
ARG 2 buttonCallback
METHOD method_44450 setDisplay (Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Ljava/lang/Runnable;)V
COMMENT Changes the description, the button text and callback to the provided one.
COMMENT The new description will be narrated, and the button will be deactivated for
COMMENT 1 second after calling this.
ARG 1 description
ARG 2 buttonText
ARG 3 buttonCallback