Class RealmsDownloadLatestWorldScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.realms.gui.screen.RealmsScreen
net.minecraft.client.realms.gui.screen.RealmsDownloadLatestWorldScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreenintermediary net/minecraft/class_4392official fxg
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate longprivate ButtonWidgetprivate booleanprivate booleanprivate intprivate static final String[]private static final ReentrantLockprivate final RealmsDownloadLatestWorldScreen.DownloadStatusprivate final Textprivate booleanprivate static final intprivate static final intprivate static final intprivate static final intprivate booleanprivate static final Loggerprivate final RateLimiterprivate final BooleanConsumerprivate final Screenprivate booleanprivate Textprivate final WorldDownloadprivate final StringFields inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
BLUE, DARK_GRAY, field_33055, field_33057, field_39676, field_54866, GRAY, GREEN, MAX_FILE_SIZE, PURPLE, REALMS_LOGO_TEXTURE, REALMS_LOGO_TEXTURE_HEIGHT, REALMS_LOGO_TEXTURE_WIDTH, REALMS_LOGO_WIDGET_HEIGHT, REALMS_LOGO_WIDGET_WIDTHFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, width -
Constructor Summary
ConstructorsConstructorDescriptionRealmsDownloadLatestWorldScreen(Screen parent, WorldDownload worldDownload, String worldName, BooleanConsumer onBack) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidclose()private voidprivate voidprivate voiddrawDots(DrawContext context) private voiddrawDownloadSpeed(DrawContext context) private voiddrawDownloadSpeed0(DrawContext context, long bytesPerSecond) private voiddrawProgressBar(DrawContext context) private longgetContentLength(String downloadLink) private Textvoidinit()Called when a screen should be initialized.voidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) voidtick()Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
addLabel, createRealmsLogoIconWidget, narrateLabels, rowMethods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, allowRotatingPanorama, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, canInterruptOtherScreen, children, clearAndInit, clearChildren, deferSubtitles, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, shouldPause, showsStatusEffects, switchFocus, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getBorder, isClickable, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;LOGGER:Lorg/slf4j/Logger;intermediary field_19844Lnet/minecraft/class_4392;field_19844:Lorg/slf4j/Logger;official aLfxg;a:Lorg/slf4j/Logger;
-
DOWNLOAD_LOCK
- Mappings:
Namespace Name Mixin selector named DOWNLOAD_LOCKLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;DOWNLOAD_LOCK:Ljava/util/concurrent/locks/ReentrantLock;intermediary field_19868Lnet/minecraft/class_4392;field_19868:Ljava/util/concurrent/locks/ReentrantLock;official bLfxg;b:Ljava/util/concurrent/locks/ReentrantLock;
-
field_41772
private static final int field_41772- See Also:
- Mappings:
Namespace Name Mixin selector named field_41772Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;field_41772:Iintermediary field_41772Lnet/minecraft/class_4392;field_41772:Iofficial cLfxg;c:I
-
field_41769
private static final int field_41769- See Also:
- Mappings:
Namespace Name Mixin selector named field_41769Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;field_41769:Iintermediary field_41769Lnet/minecraft/class_4392;field_41769:Iofficial FLfxg;F:I
-
field_41770
private static final int field_41770- See Also:
- Mappings:
Namespace Name Mixin selector named field_41770Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;field_41770:Iintermediary field_41770Lnet/minecraft/class_4392;field_41770:Iofficial GLfxg;G:I
-
field_41771
private static final int field_41771- See Also:
- Mappings:
Namespace Name Mixin selector named field_41771Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;field_41771:Iintermediary field_41771Lnet/minecraft/class_4392;field_41771:Iofficial HLfxg;H:I
-
DOTS
- Mappings:
Namespace Name Mixin selector named DOTSLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;DOTS:[Ljava/lang/String;intermediary field_19863Lnet/minecraft/class_4392;field_19863:[Ljava/lang/String;official aaLfxg;aa:[Ljava/lang/String;
-
parent
- Mappings:
Namespace Name Mixin selector named parentLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;intermediary field_19845Lnet/minecraft/class_4392;field_19845:Lnet/minecraft/class_437;official ILfxg;I:Lgmj;
-
worldDownload
- Mappings:
Namespace Name Mixin selector named worldDownloadLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;worldDownload:Lnet/minecraft/client/realms/dto/WorldDownload;intermediary field_19846Lnet/minecraft/class_4392;field_19846:Lnet/minecraft/class_4889;official JLfxg;J:Lfwn;
-
downloadTitle
- Mappings:
Namespace Name Mixin selector named downloadTitleLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;downloadTitle:Lnet/minecraft/text/Text;intermediary field_19847Lnet/minecraft/class_4392;field_19847:Lnet/minecraft/class_2561;official KLfxg;K:Lxx;
-
narrationRateLimiter
- Mappings:
Namespace Name Mixin selector named narrationRateLimiterLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;narrationRateLimiter:Lcom/google/common/util/concurrent/RateLimiter;intermediary field_19848Lnet/minecraft/class_4392;field_19848:Lcom/google/common/util/concurrent/RateLimiter;official LLfxg;L:Lcom/google/common/util/concurrent/RateLimiter;
-
cancelButton
- Mappings:
Namespace Name Mixin selector named cancelButtonLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;cancelButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_22694Lnet/minecraft/class_4392;field_22694:Lnet/minecraft/class_4185;official MLfxg;M:Lgdp;
-
worldName
- Mappings:
Namespace Name Mixin selector named worldNameLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;worldName:Ljava/lang/String;intermediary field_19850Lnet/minecraft/class_4392;field_19850:Ljava/lang/String;official NLfxg;N:Ljava/lang/String;
-
downloadStatus
- Mappings:
Namespace Name Mixin selector named downloadStatusLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;downloadStatus:Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen$DownloadStatus;intermediary field_19851Lnet/minecraft/class_4392;field_19851:Lnet/minecraft/class_4392$class_4393;official OLfxg;O:Lfxg$a;
-
downloadError
- Mappings:
Namespace Name Mixin selector named downloadErrorLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;downloadError:Lnet/minecraft/text/Text;intermediary field_20494Lnet/minecraft/class_4392;field_20494:Lnet/minecraft/class_2561;official PLfxg;P:Lxx;
-
status
- Mappings:
Namespace Name Mixin selector named statusLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;status:Lnet/minecraft/text/Text;intermediary field_19853Lnet/minecraft/class_4392;field_19853:Lnet/minecraft/class_2561;official QLfxg;Q:Lxx;
-
progress
- Mappings:
Namespace Name Mixin selector named progressLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;progress:Ljava/lang/String;intermediary field_19854Lnet/minecraft/class_4392;field_19854:Ljava/lang/String;official RLfxg;R:Ljava/lang/String;
-
cancelled
private volatile boolean cancelled- Mappings:
Namespace Name Mixin selector named cancelledLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;cancelled:Zintermediary field_19855Lnet/minecraft/class_4392;field_19855:Zofficial SLfxg;S:Z
-
showDots
private volatile boolean showDots- Mappings:
Namespace Name Mixin selector named showDotsLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;showDots:Zintermediary field_19856Lnet/minecraft/class_4392;field_19856:Zofficial TLfxg;T:Z
-
finished
private volatile boolean finished- Mappings:
Namespace Name Mixin selector named finishedLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;finished:Zintermediary field_19857Lnet/minecraft/class_4392;field_19857:Zofficial ULfxg;U:Z
-
extracting
private volatile boolean extracting- Mappings:
Namespace Name Mixin selector named extractingLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;extracting:Zintermediary field_19858Lnet/minecraft/class_4392;field_19858:Zofficial VLfxg;V:Z
-
previousWrittenBytes
- Mappings:
Namespace Name Mixin selector named previousWrittenBytesLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;previousWrittenBytes:Ljava/lang/Long;intermediary field_19859Lnet/minecraft/class_4392;field_19859:Ljava/lang/Long;official WLfxg;W:Ljava/lang/Long;
-
previousTimeSnapshot
- Mappings:
Namespace Name Mixin selector named previousTimeSnapshotLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;previousTimeSnapshot:Ljava/lang/Long;intermediary field_19860Lnet/minecraft/class_4392;field_19860:Ljava/lang/Long;official XLfxg;X:Ljava/lang/Long;
-
bytesPerSecond
private long bytesPerSecond- Mappings:
Namespace Name Mixin selector named bytesPerSecondLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;bytesPerSecond:Jintermediary field_19861Lnet/minecraft/class_4392;field_19861:Jofficial YLfxg;Y:J
-
animTick
private int animTick- Mappings:
Namespace Name Mixin selector named animTickLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;animTick:Iintermediary field_19862Lnet/minecraft/class_4392;field_19862:Iofficial ZLfxg;Z:I
-
dotIndex
private int dotIndex- Mappings:
Namespace Name Mixin selector named dotIndexLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;dotIndex:Iintermediary field_19864Lnet/minecraft/class_4392;field_19864:Iofficial abLfxg;ab:I
-
checked
private boolean checked- Mappings:
Namespace Name Mixin selector named checkedLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;checked:Zintermediary field_19867Lnet/minecraft/class_4392;field_19867:Zofficial acLfxg;ac:Z
-
onBack
- Mappings:
Namespace Name Mixin selector named onBackLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;onBack:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;intermediary field_22693Lnet/minecraft/class_4392;field_22693:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;official adLfxg;ad:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
-
-
Constructor Details
-
RealmsDownloadLatestWorldScreen
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;)Vintermediary <init>Lnet/minecraft/class_4392;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_4889;Ljava/lang/String;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)Vofficial <init>Lfxg;<init>(Lgmj;Lfwn;Ljava/lang/String;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)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.
-
checkDownloadSize
private void checkDownloadSize()- Mappings:
Namespace Name Mixin selector named checkDownloadSizeLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;checkDownloadSize()Vintermediary method_21265Lnet/minecraft/class_4392;method_21265()Vofficial oLfxg;o()V
-
getContentLength
- Mappings:
Namespace Name Mixin selector named getContentLengthLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;getContentLength(Ljava/lang/String;)Jintermediary method_21259Lnet/minecraft/class_4392;method_21259(Ljava/lang/String;)Jofficial aLfxg;a(Ljava/lang/String;)J
-
tick
public void tick() -
getNarration
- Mappings:
Namespace Name Mixin selector named getNarrationLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;getNarration()Lnet/minecraft/text/Text;intermediary method_37012Lnet/minecraft/class_4392;method_37012()Lnet/minecraft/class_2561;official ILfxg;I()Lxx;
-
close
public void close() -
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLget;a(Lgdd;IIF)V
-
drawDots
- Mappings:
Namespace Name Mixin selector named drawDotsLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;drawDots(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_21272Lnet/minecraft/class_4392;method_21272(Lnet/minecraft/class_332;)Vofficial dLfxg;d(Lgdd;)V
-
drawProgressBar
- Mappings:
Namespace Name Mixin selector named drawProgressBarLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;drawProgressBar(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_21274Lnet/minecraft/class_4392;method_21274(Lnet/minecraft/class_332;)Vofficial eLfxg;e(Lgdd;)V
-
drawDownloadSpeed
- Mappings:
Namespace Name Mixin selector named drawDownloadSpeedLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;drawDownloadSpeed(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_21276Lnet/minecraft/class_4392;method_21276(Lnet/minecraft/class_332;)Vofficial fLfxg;f(Lgdd;)V
-
drawDownloadSpeed0
- Mappings:
Namespace Name Mixin selector named drawDownloadSpeed0Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;drawDownloadSpeed0(Lnet/minecraft/client/gui/DrawContext;J)Vintermediary method_21266Lnet/minecraft/class_4392;method_21266(Lnet/minecraft/class_332;J)Vofficial aLfxg;a(Lgdd;J)V
-
downloadSave
private void downloadSave()- Mappings:
Namespace Name Mixin selector named downloadSaveLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;downloadSave()Vintermediary method_21278Lnet/minecraft/class_4392;method_21278()Vofficial JLfxg;J()V
-
downloadCancelled
private void downloadCancelled()- Mappings:
Namespace Name Mixin selector named downloadCancelledLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;downloadCancelled()Vintermediary method_21279Lnet/minecraft/class_4392;method_21279()Vofficial KLfxg;K()V
-