Class DownloadingTerrainScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class DownloadingTerrainScreen extends Screen
Mappings:
Namespace Name
official fcz
intermediary net/minecraft/class_434
named net/minecraft/client/gui/screen/DownloadingTerrainScreen
  • Field Details

    • TEXT

      private static final Text TEXT
      Mappings:
      Namespace Name Mixin selector
      official a Lfcz;a:Lvf;
      intermediary field_26544 Lnet/minecraft/class_434;field_26544:Lnet/minecraft/class_2561;
      named TEXT Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;TEXT:Lnet/minecraft/text/Text;
    • MIN_LOAD_TIME_MS

      private static final long MIN_LOAD_TIME_MS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lfcz;b:J
      intermediary field_36365 Lnet/minecraft/class_434;field_36365:J
      named MIN_LOAD_TIME_MS Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;MIN_LOAD_TIME_MS:J
    • loadStartTime

      private final long loadStartTime
      Mappings:
      Namespace Name Mixin selector
      official c Lfcz;c:J
      intermediary field_36368 Lnet/minecraft/class_434;field_36368:J
      named loadStartTime Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;loadStartTime:J
    • shouldClose

      private final BooleanSupplier shouldClose
      Mappings:
      Namespace Name Mixin selector
      official k Lfcz;k:Ljava/util/function/BooleanSupplier;
      intermediary field_46575 Lnet/minecraft/class_434;field_46575:Ljava/util/function/BooleanSupplier;
      named shouldClose Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;shouldClose:Ljava/util/function/BooleanSupplier;
  • Constructor Details

    • DownloadingTerrainScreen

      public DownloadingTerrainScreen(BooleanSupplier shouldClose)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfcz;<init>(Ljava/util/function/BooleanSupplier;)V
      intermediary <init> Lnet/minecraft/class_434;<init>(Ljava/util/function/BooleanSupplier;)V
      named <init> Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;<init>(Ljava/util/function/BooleanSupplier;)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
      official aL_ Lfdb;aL_()Z
      intermediary method_25422 Lnet/minecraft/class_437;method_25422()Z
      named shouldCloseOnEsc Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
    • hasUsageText

      protected boolean hasUsageText()
      Overrides:
      hasUsageText in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aM_ Lfdb;aM_()Z
      intermediary method_48262 Lnet/minecraft/class_437;method_48262()Z
      named hasUsageText Lnet/minecraft/client/gui/screen/Screen;hasUsageText()Z
    • 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
      official a Leyj;a(Lewu;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • renderBackground

      public void renderBackground(DrawContext context, int mouseX, int mouseY, float delta)
      Renders the background of this screen.

      If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.

      Overrides:
      renderBackground in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Lfdb;b(Lewu;IIF)V
      intermediary method_25420 Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • tick

      public void tick()
      Overrides:
      tick in class Screen
      Mappings:
      Namespace Name Mixin selector
      official d Lfdb;d()V
      intermediary method_25393 Lnet/minecraft/class_437;method_25393()V
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aE_ Lfdb;aE_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
    • shouldPause

      public boolean shouldPause()
      Overrides:
      shouldPause in class Screen
      Mappings:
      Namespace Name Mixin selector
      official k Lfdb;k()Z
      intermediary method_25421 Lnet/minecraft/class_437;method_25421()Z
      named shouldPause Lnet/minecraft/client/gui/screen/Screen;shouldPause()Z