Class RealmsDownloadLatestWorldScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
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 official eirintermediary net/minecraft/class_4392named net/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen
-
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
ADVENTURE_MAPS_IN_1_9_URL, field_33036, field_33037, field_33038, field_33039, field_33040, field_33041, field_33042, field_33043, field_33055, field_33056, field_33057, field_33060, field_33061, field_33062, field_33063, field_33064, field_39676, MAX_FILE_SIZE, RED, WHITEFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionRealmsDownloadLatestWorldScreen(Screen parent, WorldDownload worldDownload, String worldName, BooleanConsumer onBack) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidprivate voidprivate voidprivate voiddrawDots(MatrixStack matrices) private voiddrawDownloadSpeed(MatrixStack matrices) private voiddrawDownloadSpeed0(MatrixStack matrices, long bytesPerSecond) private voiddrawProgressBar(MatrixStack matrices) private longgetContentLength(String downloadLink) private Textvoidinit()Called when a screen should be initialized.booleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta) voidtick()Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
addLabel, narrateLabels, rowMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawHorizontalLine, drawNineSlicedTexture, drawNineSlicedTexture, drawRepeatingTexture, drawSprite, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawTextWithShadow, drawTextWithShadow, drawVerticalLine, drawWithOutline, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffsetMethods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLeir;a:Lorg/slf4j/Logger;intermediary field_19844Lnet/minecraft/class_4392;field_19844:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;LOGGER:Lorg/slf4j/Logger;
-
DOWNLOAD_LOCK
- Mappings:
Namespace Name Mixin selector official bLeir;b:Ljava/util/concurrent/locks/ReentrantLock;intermediary field_19868Lnet/minecraft/class_4392;field_19868:Ljava/util/concurrent/locks/ReentrantLock;named DOWNLOAD_LOCKLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;DOWNLOAD_LOCK:Ljava/util/concurrent/locks/ReentrantLock;
-
field_41772
private static final int field_41772- See Also:
- Mappings:
Namespace Name Mixin selector official cLeir;c:Iintermediary field_41772Lnet/minecraft/class_4392;field_41772:Inamed field_41772Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;field_41772:I
-
field_41769
private static final int field_41769- See Also:
- Mappings:
Namespace Name Mixin selector official ILeir;I:Iintermediary field_41769Lnet/minecraft/class_4392;field_41769:Inamed field_41769Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;field_41769:I
-
field_41770
private static final int field_41770- See Also:
- Mappings:
Namespace Name Mixin selector official JLeir;J:Iintermediary field_41770Lnet/minecraft/class_4392;field_41770:Inamed field_41770Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;field_41770:I
-
field_41771
private static final int field_41771- See Also:
- Mappings:
Namespace Name Mixin selector official KLeir;K:Iintermediary field_41771Lnet/minecraft/class_4392;field_41771:Inamed field_41771Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;field_41771:I
-
DOTS
- Mappings:
Namespace Name Mixin selector official adLeir;ad:[Ljava/lang/String;intermediary field_19863Lnet/minecraft/class_4392;field_19863:[Ljava/lang/String;named DOTSLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;DOTS:[Ljava/lang/String;
-
parent
- Mappings:
Namespace Name Mixin selector official LLeir;L:Lert;intermediary field_19845Lnet/minecraft/class_4392;field_19845:Lnet/minecraft/class_437;named parentLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
worldDownload
- Mappings:
Namespace Name Mixin selector official MLeir;M:Lehu;intermediary field_19846Lnet/minecraft/class_4392;field_19846:Lnet/minecraft/class_4889;named worldDownloadLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;worldDownload:Lnet/minecraft/client/realms/dto/WorldDownload;
-
downloadTitle
- Mappings:
Namespace Name Mixin selector official NLeir;N:Ltd;intermediary field_19847Lnet/minecraft/class_4392;field_19847:Lnet/minecraft/class_2561;named downloadTitleLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;downloadTitle:Lnet/minecraft/text/Text;
-
narrationRateLimiter
- Mappings:
Namespace Name Mixin selector official OLeir;O:Lcom/google/common/util/concurrent/RateLimiter;intermediary field_19848Lnet/minecraft/class_4392;field_19848:Lcom/google/common/util/concurrent/RateLimiter;named narrationRateLimiterLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;narrationRateLimiter:Lcom/google/common/util/concurrent/RateLimiter;
-
cancelButton
- Mappings:
Namespace Name Mixin selector official PLeir;P:Lemv;intermediary field_22694Lnet/minecraft/class_4392;field_22694:Lnet/minecraft/class_4185;named cancelButtonLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;cancelButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
worldName
- Mappings:
Namespace Name Mixin selector official QLeir;Q:Ljava/lang/String;intermediary field_19850Lnet/minecraft/class_4392;field_19850:Ljava/lang/String;named worldNameLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;worldName:Ljava/lang/String;
-
downloadStatus
- Mappings:
Namespace Name Mixin selector official RLeir;R:Leir$a;intermediary field_19851Lnet/minecraft/class_4392;field_19851:Lnet/minecraft/class_4392$class_4393;named downloadStatusLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;downloadStatus:Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen$DownloadStatus;
-
downloadError
- Mappings:
Namespace Name Mixin selector official SLeir;S:Ltd;intermediary field_20494Lnet/minecraft/class_4392;field_20494:Lnet/minecraft/class_2561;named downloadErrorLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;downloadError:Lnet/minecraft/text/Text;
-
status
- Mappings:
Namespace Name Mixin selector official TLeir;T:Ltd;intermediary field_19853Lnet/minecraft/class_4392;field_19853:Lnet/minecraft/class_2561;named statusLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;status:Lnet/minecraft/text/Text;
-
progress
- Mappings:
Namespace Name Mixin selector official ULeir;U:Ljava/lang/String;intermediary field_19854Lnet/minecraft/class_4392;field_19854:Ljava/lang/String;named progressLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;progress:Ljava/lang/String;
-
cancelled
private volatile boolean cancelled- Mappings:
Namespace Name Mixin selector official VLeir;V:Zintermediary field_19855Lnet/minecraft/class_4392;field_19855:Znamed cancelledLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;cancelled:Z
-
showDots
private volatile boolean showDots- Mappings:
Namespace Name Mixin selector official WLeir;W:Zintermediary field_19856Lnet/minecraft/class_4392;field_19856:Znamed showDotsLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;showDots:Z
-
finished
private volatile boolean finished- Mappings:
Namespace Name Mixin selector official XLeir;X:Zintermediary field_19857Lnet/minecraft/class_4392;field_19857:Znamed finishedLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;finished:Z
-
extracting
private volatile boolean extracting- Mappings:
Namespace Name Mixin selector official YLeir;Y:Zintermediary field_19858Lnet/minecraft/class_4392;field_19858:Znamed extractingLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;extracting:Z
-
previousWrittenBytes
- Mappings:
Namespace Name Mixin selector official ZLeir;Z:Ljava/lang/Long;intermediary field_19859Lnet/minecraft/class_4392;field_19859:Ljava/lang/Long;named previousWrittenBytesLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;previousWrittenBytes:Ljava/lang/Long;
-
previousTimeSnapshot
- Mappings:
Namespace Name Mixin selector official aaLeir;aa:Ljava/lang/Long;intermediary field_19860Lnet/minecraft/class_4392;field_19860:Ljava/lang/Long;named previousTimeSnapshotLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;previousTimeSnapshot:Ljava/lang/Long;
-
bytesPerSecond
private long bytesPerSecond- Mappings:
Namespace Name Mixin selector official abLeir;ab:Jintermediary field_19861Lnet/minecraft/class_4392;field_19861:Jnamed bytesPerSecondLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;bytesPerSecond:J
-
animTick
private int animTick- Mappings:
Namespace Name Mixin selector official acLeir;ac:Iintermediary field_19862Lnet/minecraft/class_4392;field_19862:Inamed animTickLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;animTick:I
-
dotIndex
private int dotIndex- Mappings:
Namespace Name Mixin selector official aeLeir;ae:Iintermediary field_19864Lnet/minecraft/class_4392;field_19864:Inamed dotIndexLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;dotIndex:I
-
checked
private boolean checked- Mappings:
Namespace Name Mixin selector official afLeir;af:Zintermediary field_19867Lnet/minecraft/class_4392;field_19867:Znamed checkedLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;checked:Z
-
onBack
- Mappings:
Namespace Name Mixin selector official agLeir;ag:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;intermediary field_22693Lnet/minecraft/class_4392;field_22693:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;named onBackLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;onBack:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
-
-
Constructor Details
-
RealmsDownloadLatestWorldScreen
public RealmsDownloadLatestWorldScreen(Screen parent, WorldDownload worldDownload, String worldName, BooleanConsumer onBack) - Mappings:
Namespace Name Mixin selector official <init>Leir;<init>(Lert;Lehu;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;)Vnamed <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
-
-
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(net.minecraft.client.gui.Element)to set the element that is initially focused. -
checkDownloadSize
private void checkDownloadSize()- Mappings:
Namespace Name Mixin selector official BLeir;B()Vintermediary method_21265Lnet/minecraft/class_4392;method_21265()Vnamed checkDownloadSizeLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;checkDownloadSize()V
-
getContentLength
- Mappings:
Namespace Name Mixin selector official aLeir;a(Ljava/lang/String;)Jintermediary method_21259Lnet/minecraft/class_4392;method_21259(Ljava/lang/String;)Jnamed getContentLengthLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;getContentLength(Ljava/lang/String;)J
-
tick
public void tick() -
getNarration
- Mappings:
Namespace Name Mixin selector official CLeir;C()Ltd;intermediary method_37012Lnet/minecraft/class_4392;method_37012()Lnet/minecraft/class_2561;named getNarrationLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;getNarration()Lnet/minecraft/text/Text;
-
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 inGLFWclass.- Specified by:
keyPressedin interfaceElement- Specified by:
keyPressedin interfaceParentElement- Overrides:
keyPressedin classScreen- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLeoc;a(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-
backButtonClicked
private void backButtonClicked()- Mappings:
Namespace Name Mixin selector official DLeir;D()Vintermediary method_21269Lnet/minecraft/class_4392;method_21269()Vnamed backButtonClickedLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;backButtonClicked()V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLens;a(Lega;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
drawDots
- Mappings:
Namespace Name Mixin selector official cLeir;c(Lega;)Vintermediary method_21272Lnet/minecraft/class_4392;method_21272(Lnet/minecraft/class_4587;)Vnamed drawDotsLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;drawDots(Lnet/minecraft/client/util/math/MatrixStack;)V
-
drawProgressBar
- Mappings:
Namespace Name Mixin selector official dLeir;d(Lega;)Vintermediary method_21274Lnet/minecraft/class_4392;method_21274(Lnet/minecraft/class_4587;)Vnamed drawProgressBarLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;drawProgressBar(Lnet/minecraft/client/util/math/MatrixStack;)V
-
drawDownloadSpeed
- Mappings:
Namespace Name Mixin selector official eLeir;e(Lega;)Vintermediary method_21276Lnet/minecraft/class_4392;method_21276(Lnet/minecraft/class_4587;)Vnamed drawDownloadSpeedLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;drawDownloadSpeed(Lnet/minecraft/client/util/math/MatrixStack;)V
-
drawDownloadSpeed0
- Mappings:
Namespace Name Mixin selector official aLeir;a(Lega;J)Vintermediary method_21266Lnet/minecraft/class_4392;method_21266(Lnet/minecraft/class_4587;J)Vnamed drawDownloadSpeed0Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;drawDownloadSpeed0(Lnet/minecraft/client/util/math/MatrixStack;J)V
-
downloadSave
private void downloadSave()- Mappings:
Namespace Name Mixin selector official ELeir;E()Vintermediary method_21278Lnet/minecraft/class_4392;method_21278()Vnamed downloadSaveLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;downloadSave()V
-
downloadCancelled
private void downloadCancelled()- Mappings:
Namespace Name Mixin selector official FLeir;F()Vintermediary method_21279Lnet/minecraft/class_4392;method_21279()Vnamed downloadCancelledLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;downloadCancelled()V
-