Class RealmsUploadScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class RealmsUploadScreen extends RealmsScreen
Mappings:
Namespace Name
named net/minecraft/client/realms/gui/screen/RealmsUploadScreen
intermediary net/minecraft/class_4427
official fdl
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;LOGGER:Lorg/slf4j/Logger;
      intermediary field_20174 Lnet/minecraft/class_4427;field_20174:Lorg/slf4j/Logger;
      official a Lfdl;a:Lorg/slf4j/Logger;
    • UPLOAD_LOCK

      private static final ReentrantLock UPLOAD_LOCK
      Mappings:
      Namespace Name Mixin selector
      named UPLOAD_LOCK Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;UPLOAD_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
      intermediary field_20196 Lnet/minecraft/class_4427;field_20196:Ljava/util/concurrent/locks/ReentrantLock;
      official b Lfdl;b:Ljava/util/concurrent/locks/ReentrantLock;
    • field_41776

      private static final int field_41776
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41776 Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;field_41776:I
      intermediary field_41776 Lnet/minecraft/class_4427;field_41776:I
      official c Lfdl;c:I
    • field_41773

      private static final int field_41773
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41773 Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;field_41773:I
      intermediary field_41773 Lnet/minecraft/class_4427;field_41773:I
      official B Lfdl;B:I
    • field_41774

      private static final int field_41774
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41774 Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;field_41774:I
      intermediary field_41774 Lnet/minecraft/class_4427;field_41774:I
      official C Lfdl;C:I
    • field_41775

      private static final int field_41775
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41775 Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;field_41775:I
      intermediary field_41775 Lnet/minecraft/class_4427;field_41775:I
      official D Lfdl;D:I
    • DOTS

      private static final String[] DOTS
      Mappings:
      Namespace Name Mixin selector
      named DOTS Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;DOTS:[Ljava/lang/String;
      intermediary field_20191 Lnet/minecraft/class_4427;field_20191:[Ljava/lang/String;
      official E Lfdl;E:[Ljava/lang/String;
    • VERIFYING_TEXT

      private static final Text VERIFYING_TEXT
      Mappings:
      Namespace Name Mixin selector
      named VERIFYING_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;VERIFYING_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26526 Lnet/minecraft/class_4427;field_26526:Lnet/minecraft/class_2561;
      official F Lfdl;F:Lxp;
    • parent

      private final RealmsCreateWorldScreen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;parent:Lnet/minecraft/client/realms/gui/screen/RealmsCreateWorldScreen;
      intermediary field_20175 Lnet/minecraft/class_4427;field_20175:Lnet/minecraft/class_4410;
      official G Lfdl;G:Lfde;
    • selectedLevel

      private final LevelSummary selectedLevel
      Mappings:
      Namespace Name Mixin selector
      named selectedLevel Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;selectedLevel:Lnet/minecraft/world/level/storage/LevelSummary;
      intermediary field_20176 Lnet/minecraft/class_4427;field_20176:Lnet/minecraft/class_34;
      official H Lfdl;H:Lepy;
    • creationTask

      @Nullable private final @Nullable WorldCreationTask creationTask
      Mappings:
      Namespace Name Mixin selector
      named creationTask Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;creationTask:Lnet/minecraft/client/realms/task/WorldCreationTask;
      intermediary field_48388 Lnet/minecraft/class_4427;field_48388:Lnet/minecraft/class_4445;
      official I Lfdl;I:Lfei;
    • worldId

      private final long worldId
      Mappings:
      Namespace Name Mixin selector
      named worldId Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;worldId:J
      intermediary field_20177 Lnet/minecraft/class_4427;field_20177:J
      official J Lfdl;J:J
    • slotId

      private final int slotId
      Mappings:
      Namespace Name Mixin selector
      named slotId Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;slotId:I
      intermediary field_20178 Lnet/minecraft/class_4427;field_20178:I
      official K Lfdl;K:I
    • uploadStatus

      private final UploadStatus uploadStatus
      Mappings:
      Namespace Name Mixin selector
      named uploadStatus Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;uploadStatus:Lnet/minecraft/client/realms/UploadStatus;
      intermediary field_20179 Lnet/minecraft/class_4427;field_20179:Lnet/minecraft/class_4351;
      official L Lfdl;L:Lfat;
    • narrationRateLimiter

      private final RateLimiter narrationRateLimiter
      Mappings:
      Namespace Name Mixin selector
      named narrationRateLimiter Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;narrationRateLimiter:Lcom/google/common/util/concurrent/RateLimiter;
      intermediary field_20180 Lnet/minecraft/class_4427;field_20180:Lcom/google/common/util/concurrent/RateLimiter;
      official M Lfdl;M:Lcom/google/common/util/concurrent/RateLimiter;
    • statusTexts

      @Nullable private volatile @Nullable Text[] statusTexts
      Mappings:
      Namespace Name Mixin selector
      named statusTexts Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;statusTexts:[Lnet/minecraft/text/Text;
      intermediary field_20503 Lnet/minecraft/class_4427;field_20503:[Lnet/minecraft/class_2561;
      official N Lfdl;N:[Lxp;
    • status

      private volatile Text status
      Mappings:
      Namespace Name Mixin selector
      named status Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;status:Lnet/minecraft/text/Text;
      intermediary field_20182 Lnet/minecraft/class_4427;field_20182:Lnet/minecraft/class_2561;
      official O Lfdl;O:Lxp;
    • progress

      @Nullable private volatile @Nullable String progress
      Mappings:
      Namespace Name Mixin selector
      named progress Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;progress:Ljava/lang/String;
      intermediary field_20183 Lnet/minecraft/class_4427;field_20183:Ljava/lang/String;
      official P Lfdl;P:Ljava/lang/String;
    • cancelled

      private volatile boolean cancelled
      Mappings:
      Namespace Name Mixin selector
      named cancelled Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;cancelled:Z
      intermediary field_20184 Lnet/minecraft/class_4427;field_20184:Z
      official Q Lfdl;Q:Z
    • uploadFinished

      private volatile boolean uploadFinished
      Mappings:
      Namespace Name Mixin selector
      named uploadFinished Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;uploadFinished:Z
      intermediary field_20185 Lnet/minecraft/class_4427;field_20185:Z
      official R Lfdl;R:Z
    • showDots

      private volatile boolean showDots
      Mappings:
      Namespace Name Mixin selector
      named showDots Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;showDots:Z
      intermediary field_20186 Lnet/minecraft/class_4427;field_20186:Z
      official S Lfdl;S:Z
    • uploadStarted

      private volatile boolean uploadStarted
      Mappings:
      Namespace Name Mixin selector
      named uploadStarted Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;uploadStarted:Z
      intermediary field_20187 Lnet/minecraft/class_4427;field_20187:Z
      official T Lfdl;T:Z
    • backButton

      @Nullable private @Nullable ButtonWidget backButton
      Mappings:
      Namespace Name Mixin selector
      named backButton Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;backButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_20188 Lnet/minecraft/class_4427;field_20188:Lnet/minecraft/class_4185;
      official U Lfdl;U:Lfhf;
    • cancelButton

      @Nullable private @Nullable ButtonWidget cancelButton
      Mappings:
      Namespace Name Mixin selector
      named cancelButton Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;cancelButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_20189 Lnet/minecraft/class_4427;field_20189:Lnet/minecraft/class_4185;
      official V Lfdl;V:Lfhf;
    • animTick

      private int animTick
      Mappings:
      Namespace Name Mixin selector
      named animTick Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;animTick:I
      intermediary field_20190 Lnet/minecraft/class_4427;field_20190:I
      official W Lfdl;W:I
    • previousWrittenBytes

      @Nullable private @Nullable Long previousWrittenBytes
      Mappings:
      Namespace Name Mixin selector
      named previousWrittenBytes Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;previousWrittenBytes:Ljava/lang/Long;
      intermediary field_20193 Lnet/minecraft/class_4427;field_20193:Ljava/lang/Long;
      official X Lfdl;X:Ljava/lang/Long;
    • previousTimeSnapshot

      @Nullable private @Nullable Long previousTimeSnapshot
      Mappings:
      Namespace Name Mixin selector
      named previousTimeSnapshot Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;previousTimeSnapshot:Ljava/lang/Long;
      intermediary field_20194 Lnet/minecraft/class_4427;field_20194:Ljava/lang/Long;
      official Y Lfdl;Y:Ljava/lang/Long;
    • bytesPerSecond

      private long bytesPerSecond
      Mappings:
      Namespace Name Mixin selector
      named bytesPerSecond Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;bytesPerSecond:J
      intermediary field_20195 Lnet/minecraft/class_4427;field_20195:J
      official Z Lfdl;Z:J
    • layout

      private final ThreePartsLayoutWidget layout
      Mappings:
      Namespace Name Mixin selector
      named layout Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
      intermediary field_48389 Lnet/minecraft/class_4427;field_48389:Lnet/minecraft/class_8132;
      official aa Lfdl;aa:Lfks;
  • Constructor Details

    • RealmsUploadScreen

      public RealmsUploadScreen(@Nullable @Nullable WorldCreationTask creationTask, long worldId, int slotId, RealmsCreateWorldScreen parent, LevelSummary selectedLevel)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;<init>(Lnet/minecraft/client/realms/task/WorldCreationTask;JILnet/minecraft/client/realms/gui/screen/RealmsCreateWorldScreen;Lnet/minecraft/world/level/storage/LevelSummary;)V
      intermediary <init> Lnet/minecraft/class_4427;<init>(Lnet/minecraft/class_4445;JILnet/minecraft/class_4410;Lnet/minecraft/class_34;)V
      official <init> Lfdl;<init>(Lfei;JILfde;Lepy;)V
  • Method Details

    • init

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

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

      This should call Screen.setInitialFocus() to set the element that is initially focused.

      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 aM_ Lfne;aM_()V
    • initTabNavigation

      protected void initTabNavigation()
      Overrides:
      initTabNavigation in class Screen
      Mappings:
      Namespace Name Mixin selector
      named initTabNavigation Lnet/minecraft/client/gui/screen/Screen;initTabNavigation()V
      intermediary method_48640 Lnet/minecraft/class_437;method_48640()V
      official c Lfne;c()V
    • onBack

      private void onBack()
      Mappings:
      Namespace Name Mixin selector
      named onBack Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;onBack()V
      intermediary method_21525 Lnet/minecraft/class_4427;method_21525()V
      official E Lfdl;E()V
    • onCancel

      private void onCancel()
      Mappings:
      Namespace Name Mixin selector
      named onCancel Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;onCancel()V
      intermediary method_21528 Lnet/minecraft/class_4427;method_21528()V
      official F Lfdl;F()V
    • keyPressed

      public boolean keyPressed(int keyCode, int scanCode, int modifiers)
      Callback for when a key down event has been captured. The key code is identified by the constants in GLFW class.
      Specified by:
      keyPressed in interface Element
      Specified by:
      keyPressed in interface ParentElement
      Overrides:
      keyPressed in class Screen
      Parameters:
      keyCode - the named key code of the event as described in the GLFW class
      scanCode - the unique/platform-specific scan code of the keyboard input
      modifiers - a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(III)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
      official a Lfjb;a(III)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
      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 Lfii;a(Lfgs;IIF)V
    • drawProgressBar

      private void drawProgressBar(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named drawProgressBar Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;drawProgressBar(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_21532 Lnet/minecraft/class_4427;method_21532(Lnet/minecraft/class_332;)V
      official c Lfdl;c(Lfgs;)V
    • drawUploadSpeed

      private void drawUploadSpeed(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named drawUploadSpeed Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;drawUploadSpeed(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_21534 Lnet/minecraft/class_4427;method_21534(Lnet/minecraft/class_332;)V
      official d Lfdl;d(Lfgs;)V
    • drawUploadSpeed0

      private void drawUploadSpeed0(DrawContext context, long bytesPerSecond)
      Mappings:
      Namespace Name Mixin selector
      named drawUploadSpeed0 Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;drawUploadSpeed0(Lnet/minecraft/client/gui/DrawContext;J)V
      intermediary method_21526 Lnet/minecraft/class_4427;method_21526(Lnet/minecraft/class_332;J)V
      official a Lfdl;a(Lfgs;J)V
    • 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 Lfne;e()V
    • getNarration

      private Text getNarration()
      Mappings:
      Namespace Name Mixin selector
      named getNarration Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;getNarration()Lnet/minecraft/text/Text;
      intermediary method_37014 Lnet/minecraft/class_4427;method_37014()Lnet/minecraft/class_2561;
      official I Lfdl;I()Lxp;
    • upload

      private void upload()
      Mappings:
      Namespace Name Mixin selector
      named upload Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;upload()V
      intermediary method_21536 Lnet/minecraft/class_4427;method_21536()V
      official J Lfdl;J()V
    • setStatusTexts

      private void setStatusTexts(Text[] statusTexts)
      Mappings:
      Namespace Name Mixin selector
      named setStatusTexts Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;setStatusTexts([Lnet/minecraft/text/Text;)V
      intermediary method_27460 Lnet/minecraft/class_4427;method_27460([Lnet/minecraft/class_2561;)V
      official a Lfdl;a([Lxp;)V
    • uploadCancelled

      private void uploadCancelled()
      Mappings:
      Namespace Name Mixin selector
      named uploadCancelled Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;uploadCancelled()V
      intermediary method_21538 Lnet/minecraft/class_4427;method_21538()V
      official K Lfdl;K()V
    • verify

      private boolean verify(File archive)
      Mappings:
      Namespace Name Mixin selector
      named verify Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;verify(Ljava/io/File;)Z
      intermediary method_21515 Lnet/minecraft/class_4427;method_21515(Ljava/io/File;)Z
      official a Lfdl;a(Ljava/io/File;)Z
    • tarGzipArchive

      private File tarGzipArchive(File pathToDirectoryFile) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named tarGzipArchive Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;tarGzipArchive(Ljava/io/File;)Ljava/io/File;
      intermediary method_21524 Lnet/minecraft/class_4427;method_21524(Ljava/io/File;)Ljava/io/File;
      official b Lfdl;b(Ljava/io/File;)Ljava/io/File;
    • addFileToTarGz

      private void addFileToTarGz(TarArchiveOutputStream tOut, String path, String base, boolean root) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named addFileToTarGz Lnet/minecraft/client/realms/gui/screen/RealmsUploadScreen;addFileToTarGz(Lorg/apache/commons/compress/archivers/tar/TarArchiveOutputStream;Ljava/lang/String;Ljava/lang/String;Z)V
      intermediary method_21516 Lnet/minecraft/class_4427;method_21516(Lorg/apache/commons/compress/archivers/tar/TarArchiveOutputStream;Ljava/lang/String;Ljava/lang/String;Z)V
      official a Lfdl;a(Lorg/apache/commons/compress/archivers/tar/TarArchiveOutputStream;Ljava/lang/String;Ljava/lang/String;Z)V