Class DownloadingTerrainScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • TEXT

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

      private static final int field_59306
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_59306 Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;field_59306:I
      intermediary field_59306 Lnet/minecraft/class_434;field_59306:I
      official b Lgdp;b:I
    • field_59307

      private static final List<Text> field_59307
      Mappings:
      Namespace Name Mixin selector
      named field_59307 Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;field_59307:Ljava/util/List;
      intermediary field_59307 Lnet/minecraft/class_434;field_59307:Ljava/util/List;
      official c Lgdp;c:Ljava/util/List;
    • MIN_LOAD_TIME_MS

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

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

      private BooleanSupplier shouldClose
      Mappings:
      Namespace Name Mixin selector
      named shouldClose Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;shouldClose:Ljava/util/function/BooleanSupplier;
      intermediary field_46575 Lnet/minecraft/class_434;field_46575:Ljava/util/function/BooleanSupplier;
      official u Lgdp;u:Ljava/util/function/BooleanSupplier;
    • worldEntryReason

      Mappings:
      Namespace Name Mixin selector
      named worldEntryReason Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;worldEntryReason:Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen$WorldEntryReason;
      intermediary field_51485 Lnet/minecraft/class_434;field_51485:Lnet/minecraft/class_434$class_9678;
      official v Lgdp;v:Lgdp$a;
    • backgroundSprite

      @Nullable private @Nullable Sprite backgroundSprite
      Mappings:
      Namespace Name Mixin selector
      named backgroundSprite Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;backgroundSprite:Lnet/minecraft/client/texture/Sprite;
      intermediary field_51486 Lnet/minecraft/class_434;field_51486:Lnet/minecraft/class_1058;
      official w Lgdp;w:Lhpw;
    • field_59308

      private int field_59308
      Mappings:
      Namespace Name Mixin selector
      named field_59308 Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;field_59308:I
      intermediary field_59308 Lnet/minecraft/class_434;field_59308:I
      official x Lgdp;x:I
    • field_59309

      @Nullable private @Nullable Text field_59309
      Mappings:
      Namespace Name Mixin selector
      named field_59309 Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;field_59309:Lnet/minecraft/text/Text;
      intermediary field_59309 Lnet/minecraft/class_434;field_59309:Lnet/minecraft/class_2561;
      official y Lgdp;y:Lxi;
    • field_59310

      private final Random field_59310
      Mappings:
      Namespace Name Mixin selector
      named field_59310 Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;field_59310:Lnet/minecraft/util/math/random/Random;
      intermediary field_59310 Lnet/minecraft/class_434;field_59310:Lnet/minecraft/class_5819;
      official z Lgdp;z:Lbbg;
    • field_59305

      @Nullable private final @Nullable ClientConnection field_59305
      Mappings:
      Namespace Name Mixin selector
      named field_59305 Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;field_59305:Lnet/minecraft/network/ClientConnection;
      intermediary field_59305 Lnet/minecraft/class_434;field_59305:Lnet/minecraft/class_2535;
      official A Lgdp;A:Lvx;
  • Constructor Details

    • DownloadingTerrainScreen

      public DownloadingTerrainScreen(BooleanSupplier shouldClose, DownloadingTerrainScreen.WorldEntryReason worldEntryReason, Random random, @Nullable @Nullable ClientConnection clientConnection)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;<init>(Ljava/util/function/BooleanSupplier;Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen$WorldEntryReason;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/network/ClientConnection;)V
      intermediary <init> Lnet/minecraft/class_434;<init>(Ljava/util/function/BooleanSupplier;Lnet/minecraft/class_434$class_9678;Lnet/minecraft/class_5819;Lnet/minecraft/class_2535;)V
      official <init> Lgdp;<init>(Ljava/util/function/BooleanSupplier;Lgdp$a;Lbbg;Lvx;)V
  • Method Details

    • method_70266

      public void method_70266(BooleanSupplier booleanSupplier, DownloadingTerrainScreen.WorldEntryReason worldEntryReason)
      Mappings:
      Namespace Name Mixin selector
      named method_70266 Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;method_70266(Ljava/util/function/BooleanSupplier;Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen$WorldEntryReason;)V
      intermediary method_70266 Lnet/minecraft/class_434;method_70266(Ljava/util/function/BooleanSupplier;Lnet/minecraft/class_434$class_9678;)V
      official a Lgdp;a(Ljava/util/function/BooleanSupplier;Lgdp$a;)V
    • method_70267

      Mappings:
      Namespace Name Mixin selector
      named method_70267 Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;method_70267()Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen$WorldEntryReason;
      intermediary method_70267 Lnet/minecraft/class_434;method_70267()Lnet/minecraft/class_434$class_9678;
      official m Lgdp;m()Lgdp$a;
    • 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 aI_ Lgdr;aI_()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 aS_ Lgdr;aS_()Z
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float deltaTicks)
      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 Lfzb;a(Lfxk;IIF)V
    • renderBackground

      public void renderBackground(DrawContext context, int mouseX, int mouseY, float deltaTicks)
      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
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25420 Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
      official b Lgdr;b(Lfxk;IIF)V
    • getBackgroundSprite

      private Sprite getBackgroundSprite()
      Mappings:
      Namespace Name Mixin selector
      named getBackgroundSprite Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;getBackgroundSprite()Lnet/minecraft/client/texture/Sprite;
      intermediary method_59838 Lnet/minecraft/class_434;method_59838()Lnet/minecraft/class_1058;
      official E Lgdp;E()Lhpw;
    • tick

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

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

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