Class RealmsDownloadLatestWorldScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class RealmsDownloadLatestWorldScreen extends RealmsScreen
Mappings:
Namespace Name
named net/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen
intermediary net/minecraft/class_4392
official fiy
  • Field Details Link icon

    • LOGGER Link icon

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;LOGGER:Lorg/slf4j/Logger;
      intermediary field_19844 Lnet/minecraft/class_4392;field_19844:Lorg/slf4j/Logger;
      official a Lfiy;a:Lorg/slf4j/Logger;
    • DOWNLOAD_LOCK Link icon

      private static final ReentrantLock DOWNLOAD_LOCK
      Mappings:
      Namespace Name Mixin selector
      named DOWNLOAD_LOCK Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;DOWNLOAD_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
      intermediary field_19868 Lnet/minecraft/class_4392;field_19868:Ljava/util/concurrent/locks/ReentrantLock;
      official b Lfiy;b:Ljava/util/concurrent/locks/ReentrantLock;
    • field_41772 Link icon

      private static final int field_41772
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41772 Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;field_41772:I
      intermediary field_41772 Lnet/minecraft/class_4392;field_41772:I
      official c Lfiy;c:I
    • field_41769 Link icon

      private static final int field_41769
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41769 Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;field_41769:I
      intermediary field_41769 Lnet/minecraft/class_4392;field_41769:I
      official C Lfiy;C:I
    • field_41770 Link icon

      private static final int field_41770
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41770 Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;field_41770:I
      intermediary field_41770 Lnet/minecraft/class_4392;field_41770:I
      official D Lfiy;D:I
    • field_41771 Link icon

      private static final int field_41771
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41771 Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;field_41771:I
      intermediary field_41771 Lnet/minecraft/class_4392;field_41771:I
      official E Lfiy;E:I
    • DOTS Link icon

      private static final String[] DOTS
      Mappings:
      Namespace Name Mixin selector
      named DOTS Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;DOTS:[Ljava/lang/String;
      intermediary field_19863 Lnet/minecraft/class_4392;field_19863:[Ljava/lang/String;
      official X Lfiy;X:[Ljava/lang/String;
    • parent Link icon

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
      intermediary field_19845 Lnet/minecraft/class_4392;field_19845:Lnet/minecraft/class_437;
      official F Lfiy;F:Lfum;
    • worldDownload Link icon

      private final WorldDownload worldDownload
      Mappings:
      Namespace Name Mixin selector
      named worldDownload Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;worldDownload:Lnet/minecraft/client/realms/dto/WorldDownload;
      intermediary field_19846 Lnet/minecraft/class_4392;field_19846:Lnet/minecraft/class_4889;
      official G Lfiy;G:Lfib;
    • downloadTitle Link icon

      private final Text downloadTitle
      Mappings:
      Namespace Name Mixin selector
      named downloadTitle Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;downloadTitle:Lnet/minecraft/text/Text;
      intermediary field_19847 Lnet/minecraft/class_4392;field_19847:Lnet/minecraft/class_2561;
      official H Lfiy;H:Lwp;
    • narrationRateLimiter Link icon

      private final RateLimiter narrationRateLimiter
      Mappings:
      Namespace Name Mixin selector
      named narrationRateLimiter Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;narrationRateLimiter:Lcom/google/common/util/concurrent/RateLimiter;
      intermediary field_19848 Lnet/minecraft/class_4392;field_19848:Lcom/google/common/util/concurrent/RateLimiter;
      official I Lfiy;I:Lcom/google/common/util/concurrent/RateLimiter;
    • cancelButton Link icon

      private ButtonWidget cancelButton
      Mappings:
      Namespace Name Mixin selector
      named cancelButton Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;cancelButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_22694 Lnet/minecraft/class_4392;field_22694:Lnet/minecraft/class_4185;
      official J Lfiy;J:Lfou;
    • worldName Link icon

      private final String worldName
      Mappings:
      Namespace Name Mixin selector
      named worldName Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;worldName:Ljava/lang/String;
      intermediary field_19850 Lnet/minecraft/class_4392;field_19850:Ljava/lang/String;
      official K Lfiy;K:Ljava/lang/String;
    • downloadStatus Link icon

      private final RealmsDownloadLatestWorldScreen.DownloadStatus downloadStatus
      Mappings:
      Namespace Name Mixin selector
      named downloadStatus Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;downloadStatus:Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen$DownloadStatus;
      intermediary field_19851 Lnet/minecraft/class_4392;field_19851:Lnet/minecraft/class_4392$class_4393;
      official L Lfiy;L:Lfiy$a;
    • downloadError Link icon

      @Nullable private volatile @Nullable Text downloadError
      Mappings:
      Namespace Name Mixin selector
      named downloadError Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;downloadError:Lnet/minecraft/text/Text;
      intermediary field_20494 Lnet/minecraft/class_4392;field_20494:Lnet/minecraft/class_2561;
      official M Lfiy;M:Lwp;
    • status Link icon

      private volatile Text status
      Mappings:
      Namespace Name Mixin selector
      named status Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;status:Lnet/minecraft/text/Text;
      intermediary field_19853 Lnet/minecraft/class_4392;field_19853:Lnet/minecraft/class_2561;
      official N Lfiy;N:Lwp;
    • progress Link icon

      @Nullable private volatile @Nullable String progress
      Mappings:
      Namespace Name Mixin selector
      named progress Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;progress:Ljava/lang/String;
      intermediary field_19854 Lnet/minecraft/class_4392;field_19854:Ljava/lang/String;
      official O Lfiy;O:Ljava/lang/String;
    • cancelled Link icon

      private volatile boolean cancelled
      Mappings:
      Namespace Name Mixin selector
      named cancelled Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;cancelled:Z
      intermediary field_19855 Lnet/minecraft/class_4392;field_19855:Z
      official P Lfiy;P:Z
    • showDots Link icon

      private volatile boolean showDots
      Mappings:
      Namespace Name Mixin selector
      named showDots Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;showDots:Z
      intermediary field_19856 Lnet/minecraft/class_4392;field_19856:Z
      official Q Lfiy;Q:Z
    • finished Link icon

      private volatile boolean finished
      Mappings:
      Namespace Name Mixin selector
      named finished Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;finished:Z
      intermediary field_19857 Lnet/minecraft/class_4392;field_19857:Z
      official R Lfiy;R:Z
    • extracting Link icon

      private volatile boolean extracting
      Mappings:
      Namespace Name Mixin selector
      named extracting Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;extracting:Z
      intermediary field_19858 Lnet/minecraft/class_4392;field_19858:Z
      official S Lfiy;S:Z
    • previousWrittenBytes Link icon

      @Nullable private @Nullable Long previousWrittenBytes
      Mappings:
      Namespace Name Mixin selector
      named previousWrittenBytes Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;previousWrittenBytes:Ljava/lang/Long;
      intermediary field_19859 Lnet/minecraft/class_4392;field_19859:Ljava/lang/Long;
      official T Lfiy;T:Ljava/lang/Long;
    • previousTimeSnapshot Link icon

      @Nullable private @Nullable Long previousTimeSnapshot
      Mappings:
      Namespace Name Mixin selector
      named previousTimeSnapshot Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;previousTimeSnapshot:Ljava/lang/Long;
      intermediary field_19860 Lnet/minecraft/class_4392;field_19860:Ljava/lang/Long;
      official U Lfiy;U:Ljava/lang/Long;
    • bytesPerSecond Link icon

      private long bytesPerSecond
      Mappings:
      Namespace Name Mixin selector
      named bytesPerSecond Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;bytesPerSecond:J
      intermediary field_19861 Lnet/minecraft/class_4392;field_19861:J
      official V Lfiy;V:J
    • animTick Link icon

      private int animTick
      Mappings:
      Namespace Name Mixin selector
      named animTick Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;animTick:I
      intermediary field_19862 Lnet/minecraft/class_4392;field_19862:I
      official W Lfiy;W:I
    • dotIndex Link icon

      private int dotIndex
      Mappings:
      Namespace Name Mixin selector
      named dotIndex Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;dotIndex:I
      intermediary field_19864 Lnet/minecraft/class_4392;field_19864:I
      official Y Lfiy;Y:I
    • checked Link icon

      private boolean checked
      Mappings:
      Namespace Name Mixin selector
      named checked Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;checked:Z
      intermediary field_19867 Lnet/minecraft/class_4392;field_19867:Z
      official Z Lfiy;Z:Z
    • onBack Link icon

      private final BooleanConsumer onBack
      Mappings:
      Namespace Name Mixin selector
      named onBack Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;onBack:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
      intermediary field_22693 Lnet/minecraft/class_4392;field_22693:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
      official aa Lfiy;aa:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
  • Constructor Details Link icon

    • RealmsDownloadLatestWorldScreen Link icon

      public RealmsDownloadLatestWorldScreen(Screen parent, WorldDownload worldDownload, String worldName, BooleanConsumer onBack)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/realms/dto/WorldDownload;Ljava/lang/String;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)V
      intermediary <init> Lnet/minecraft/class_4392;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_4889;Ljava/lang/String;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)V
      official <init> Lfiy;<init>(Lfum;Lfib;Ljava/lang/String;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)V
  • Method Details Link icon

    • init Link icon

      public void init()
      Called when a screen should be initialized.

      This method is called when this screen is opened or resized.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      official aR_ Lfum;aR_()V
    • checkDownloadSize Link icon

      private void checkDownloadSize()
      Mappings:
      Namespace Name Mixin selector
      named checkDownloadSize Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;checkDownloadSize()V
      intermediary method_21265 Lnet/minecraft/class_4392;method_21265()V
      official E Lfiy;E()V
    • getContentLength Link icon

      private long getContentLength(String downloadLink)
      Mappings:
      Namespace Name Mixin selector
      named getContentLength Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;getContentLength(Ljava/lang/String;)J
      intermediary method_21259 Lnet/minecraft/class_4392;method_21259(Ljava/lang/String;)J
      official a Lfiy;a(Ljava/lang/String;)J
    • tick Link icon

      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 Lfum;e()V
    • getNarration Link icon

      private Text getNarration()
      Mappings:
      Namespace Name Mixin selector
      named getNarration Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;getNarration()Lnet/minecraft/text/Text;
      intermediary method_37012 Lnet/minecraft/class_4392;method_37012()Lnet/minecraft/class_2561;
      official F Lfiy;F()Lwp;
    • close Link icon

      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 aO_ Lfum;aO_()V
    • render Link icon

      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 Lfpx;a(Lfof;IIF)V
    • drawDots Link icon

      private void drawDots(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named drawDots Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;drawDots(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_21272 Lnet/minecraft/class_4392;method_21272(Lnet/minecraft/class_332;)V
      official c Lfiy;c(Lfof;)V
    • drawProgressBar Link icon

      private void drawProgressBar(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named drawProgressBar Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;drawProgressBar(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_21274 Lnet/minecraft/class_4392;method_21274(Lnet/minecraft/class_332;)V
      official d Lfiy;d(Lfof;)V
    • drawDownloadSpeed Link icon

      private void drawDownloadSpeed(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named drawDownloadSpeed Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;drawDownloadSpeed(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_21276 Lnet/minecraft/class_4392;method_21276(Lnet/minecraft/class_332;)V
      official e Lfiy;e(Lfof;)V
    • drawDownloadSpeed0 Link icon

      private void drawDownloadSpeed0(DrawContext context, long bytesPerSecond)
      Mappings:
      Namespace Name Mixin selector
      named drawDownloadSpeed0 Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;drawDownloadSpeed0(Lnet/minecraft/client/gui/DrawContext;J)V
      intermediary method_21266 Lnet/minecraft/class_4392;method_21266(Lnet/minecraft/class_332;J)V
      official a Lfiy;a(Lfof;J)V
    • downloadSave Link icon

      private void downloadSave()
      Mappings:
      Namespace Name Mixin selector
      named downloadSave Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;downloadSave()V
      intermediary method_21278 Lnet/minecraft/class_4392;method_21278()V
      official G Lfiy;G()V
    • downloadCancelled Link icon

      private void downloadCancelled()
      Mappings:
      Namespace Name Mixin selector
      named downloadCancelled Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;downloadCancelled()V
      intermediary method_21279 Lnet/minecraft/class_4392;method_21279()V
      official H Lfiy;H()V