Class ProgressScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement, ProgressListener

@Environment(CLIENT) public class ProgressScreen extends Screen implements ProgressListener
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/ProgressScreen
intermediary net/minecraft/class_435
official fnc
  • Field Details

    • title

      @Nullable private @Nullable Text title
      Mappings:
      Namespace Name Mixin selector
      named title Lnet/minecraft/client/gui/screen/ProgressScreen;title:Lnet/minecraft/text/Text;
      intermediary field_2541 Lnet/minecraft/class_435;field_2541:Lnet/minecraft/class_2561;
      official a Lfnc;a:Lxp;
    • task

      @Nullable private @Nullable Text task
      Mappings:
      Namespace Name Mixin selector
      named task Lnet/minecraft/client/gui/screen/ProgressScreen;task:Lnet/minecraft/text/Text;
      intermediary field_2544 Lnet/minecraft/class_435;field_2544:Lnet/minecraft/class_2561;
      official b Lfnc;b:Lxp;
    • progress

      private int progress
      Mappings:
      Namespace Name Mixin selector
      named progress Lnet/minecraft/client/gui/screen/ProgressScreen;progress:I
      intermediary field_2542 Lnet/minecraft/class_435;field_2542:I
      official c Lfnc;c:I
    • done

      private boolean done
      Mappings:
      Namespace Name Mixin selector
      named done Lnet/minecraft/client/gui/screen/ProgressScreen;done:Z
      intermediary field_2543 Lnet/minecraft/class_435;field_2543:Z
      official d Lfnc;d:Z
    • closeAfterFinished

      private final boolean closeAfterFinished
      Mappings:
      Namespace Name Mixin selector
      named closeAfterFinished Lnet/minecraft/client/gui/screen/ProgressScreen;closeAfterFinished:Z
      intermediary field_33625 Lnet/minecraft/class_435;field_33625:Z
      official r Lfnc;r:Z
  • Constructor Details

    • ProgressScreen

      public ProgressScreen(boolean closeAfterFinished)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/ProgressScreen;<init>(Z)V
      intermediary <init> Lnet/minecraft/class_435;<init>(Z)V
      official <init> Lfnc;<init>(Z)V
  • Method Details

    • shouldCloseOnEsc

      public boolean shouldCloseOnEsc()
      Checks whether this screen should be closed when the escape key is pressed.
      Overrides:
      shouldCloseOnEsc in class Screen
      Mappings:
      Namespace Name Mixin selector
      named shouldCloseOnEsc Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
      intermediary method_25422 Lnet/minecraft/class_437;method_25422()Z
      official aC_ Lfnf;aC_()Z
    • hasUsageText

      protected boolean hasUsageText()
      Overrides:
      hasUsageText in class Screen
      Mappings:
      Namespace Name Mixin selector
      named hasUsageText Lnet/minecraft/client/gui/screen/Screen;hasUsageText()Z
      intermediary method_48262 Lnet/minecraft/class_437;method_48262()Z
      official aL_ Lfnf;aL_()Z
    • setTitle

      public void setTitle(Text title)
      Specified by:
      setTitle in interface ProgressListener
      Mappings:
      Namespace Name Mixin selector
      named setTitle Lnet/minecraft/util/ProgressListener;setTitle(Lnet/minecraft/text/Text;)V
      intermediary method_15412 Lnet/minecraft/class_3536;method_15412(Lnet/minecraft/class_2561;)V
      official a Lazg;a(Lxp;)V
    • setTitleAndTask

      public void setTitleAndTask(Text title)
      Specified by:
      setTitleAndTask in interface ProgressListener
      Mappings:
      Namespace Name Mixin selector
      named setTitleAndTask Lnet/minecraft/util/ProgressListener;setTitleAndTask(Lnet/minecraft/text/Text;)V
      intermediary method_15413 Lnet/minecraft/class_3536;method_15413(Lnet/minecraft/class_2561;)V
      official b Lazg;b(Lxp;)V
    • setTask

      public void setTask(Text task)
      Specified by:
      setTask in interface ProgressListener
      Mappings:
      Namespace Name Mixin selector
      named setTask Lnet/minecraft/util/ProgressListener;setTask(Lnet/minecraft/text/Text;)V
      intermediary method_15414 Lnet/minecraft/class_3536;method_15414(Lnet/minecraft/class_2561;)V
      official c Lazg;c(Lxp;)V
    • progressStagePercentage

      public void progressStagePercentage(int percentage)
      Specified by:
      progressStagePercentage in interface ProgressListener
      Mappings:
      Namespace Name Mixin selector
      named progressStagePercentage Lnet/minecraft/util/ProgressListener;progressStagePercentage(I)V
      intermediary method_15410 Lnet/minecraft/class_3536;method_15410(I)V
      official a Lazg;a(I)V
    • setDone

      public void setDone()
      Specified by:
      setDone in interface ProgressListener
      Mappings:
      Namespace Name Mixin selector
      named setDone Lnet/minecraft/util/ProgressListener;setDone()V
      intermediary method_15411 Lnet/minecraft/class_3536;method_15411()V
      official a Lazg;a()V
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lfij;a(Lfgt;IIF)V