类 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
-
- 所有已实现的接口:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class RealmsDownloadLatestWorldScreen extends RealmsScreen
- Mappings:
Namespace Name official drxintermediary net/minecraft/class_4392named net/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 classRealmsDownloadLatestWorldScreen.DownloadStatus
-
字段概要
字段 修饰符和类型 字段 说明 private intanimTickprivate longbytesPerSecondprivate booleancancelledprivate booleancheckedprivate intdotIndexprivate static String[]DOTSprivate static ReentrantLockdownloadLockprivate RealmsDownloadLatestWorldScreen.DownloadStatusdownloadStatusprivate TextdownloadTitleprivate booleanextractingprivate Textfield_20494private BooleanConsumerfield_22693private ButtonWidgetfield_22694private booleanfinishedprivate static LoggerLOGGERprivate RateLimiternarrationRateLimiterprivate Screenparentprivate LongpreviousTimeSnapshotprivate LongpreviousWrittenBytesprivate Stringprogressprivate booleanshowDotsprivate Textstatusprivate WorldDownloadworldDownloadprivate StringworldName-
从类继承的字段 net.minecraft.client.realms.gui.screen.RealmsScreen
field_33036, field_33037, field_33038, field_33039, field_33040, field_33041, field_33042, field_33043, field_33044, field_33045, field_33046, field_33047, field_33048, field_33049, field_33050, field_33051, field_33052, field_33053, field_33054, field_33055, field_33056, field_33057, field_33058, field_33059, field_33060, field_33061, field_33062, field_33063, field_33064, field_33065
-
从类继承的字段 net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
-
从类继承的字段 net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
-
构造器概要
构造器 构造器 说明 RealmsDownloadLatestWorldScreen(Screen parent, WorldDownload worldDownload, String worldName, BooleanConsumer booleanConsumer)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 private voidbackButtonClicked()private voidcheckDownloadSize()private voiddownloadCancelled()private voiddownloadSave()private voiddrawDots(MatrixStack matrices)private voiddrawDownloadSpeed(MatrixStack matrices)private voiddrawDownloadSpeed0(MatrixStack matrices, long long2)private voiddrawProgressBar(MatrixStack matrices)private longgetContentLength(String downloadLink)voidinit()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()-
从类继承的方法 net.minecraft.client.realms.gui.screen.RealmsScreen
narrateLabels, row
-
从类继承的方法 net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, onClose, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenError
-
从类继承的方法 net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
-
从类继承的方法 net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, method_35719, method_35720, setZOffset
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
mouseMoved
-
从接口继承的方法 net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
-
-
-
字段详细资料
-
LOGGER
private static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official aLdrx;a:Lorg/apache/logging/log4j/Logger;intermediary field_19844Lnet/minecraft/class_4392;field_19844:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
-
downloadLock
private static final ReentrantLock downloadLock
- Mappings:
Namespace Name Mixin selector official bLdrx;b:Ljava/util/concurrent/locks/ReentrantLock;intermediary field_19868Lnet/minecraft/class_4392;field_19868:Ljava/util/concurrent/locks/ReentrantLock;named downloadLockLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;downloadLock:Ljava/util/concurrent/locks/ReentrantLock;
-
DOTS
private static final String[] DOTS
- Mappings:
Namespace Name Mixin selector official akLdrx;ak:[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
private final Screen parent
- Mappings:
Namespace Name Mixin selector official cLdrx;c:Ldzg;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
private final WorldDownload worldDownload
- Mappings:
Namespace Name Mixin selector official TLdrx;T:Ldrc;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
private final Text downloadTitle
- Mappings:
Namespace Name Mixin selector official ULdrx;U:Lon;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
private final RateLimiter narrationRateLimiter
- Mappings:
Namespace Name Mixin selector official VLdrx;V: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;
-
field_22694
private ButtonWidget field_22694
- Mappings:
Namespace Name Mixin selector official WLdrx;W:Ldvw;intermediary field_22694Lnet/minecraft/class_4392;field_22694:Lnet/minecraft/class_4185;named field_22694Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;field_22694:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
worldName
private final String worldName
- Mappings:
Namespace Name Mixin selector official XLdrx;X: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
private final RealmsDownloadLatestWorldScreen.DownloadStatus downloadStatus
- Mappings:
Namespace Name Mixin selector official YLdrx;Y:Ldrx$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;
-
field_20494
private volatile Text field_20494
- Mappings:
Namespace Name Mixin selector official ZLdrx;Z:Lon;intermediary field_20494Lnet/minecraft/class_4392;field_20494:Lnet/minecraft/class_2561;named field_20494Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;field_20494:Lnet/minecraft/text/Text;
-
status
private volatile Text status
- Mappings:
Namespace Name Mixin selector official aaLdrx;aa:Lon;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
private volatile String progress
- Mappings:
Namespace Name Mixin selector official abLdrx;ab: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 acLdrx;ac: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 adLdrx;ad: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 aeLdrx;ae: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 afLdrx;af:Zintermediary field_19858Lnet/minecraft/class_4392;field_19858:Znamed extractingLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;extracting:Z
-
previousWrittenBytes
private Long previousWrittenBytes
- Mappings:
Namespace Name Mixin selector official agLdrx;ag: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
private Long previousTimeSnapshot
- Mappings:
Namespace Name Mixin selector official ahLdrx;ah: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 aiLdrx;ai: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 ajLdrx;aj: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 alLdrx;al: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 amLdrx;am:Zintermediary field_19867Lnet/minecraft/class_4392;field_19867:Znamed checkedLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;checked:Z
-
field_22693
private final BooleanConsumer field_22693
- Mappings:
Namespace Name Mixin selector official anLdrx;an:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;intermediary field_22693Lnet/minecraft/class_4392;field_22693:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;named field_22693Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;field_22693:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
-
-
构造器详细资料
-
RealmsDownloadLatestWorldScreen
public RealmsDownloadLatestWorldScreen(Screen parent, WorldDownload worldDownload, String worldName, BooleanConsumer booleanConsumer)
- Mappings:
Namespace Name Mixin selector official <init>Ldrx;<init>(Ldzg;Ldrc;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
-
-
方法详细资料
-
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 official hLdrx;h()Vintermediary method_21265Lnet/minecraft/class_4392;method_21265()Vnamed checkDownloadSizeLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;checkDownloadSize()V
-
getContentLength
private long getContentLength(String downloadLink)
- Mappings:
Namespace Name Mixin selector official bLdrx;b(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()
- 指定者:
tick在接口中TickableElement- 覆盖:
tick在类中RealmsScreen- Mappings:
Namespace Name Mixin selector official dLdwp;d()Vintermediary method_25393Lnet/minecraft/class_4893;method_25393()Vnamed tickLnet/minecraft/client/gui/screen/TickableElement;tick()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 inGLFWclass.- 指定者:
keyPressed在接口中Element- 指定者:
keyPressed在接口中ParentElement- 覆盖:
keyPressed在类中Screen- 参数:
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)- 返回:
trueto indicate that the event handling is successful/valid- 另请参阅:
Keyboard.onKey(long, int, int, int, int),GLFW.GLFW_KEY_Q,GLFWKeyCallbackI.invoke(long, int, int, int, int)- Mappings:
Namespace Name Mixin selector official aLdwv;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 iLdrx;i()Vintermediary method_21269Lnet/minecraft/class_4392;method_21269()Vnamed backButtonClickedLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;backButtonClicked()V
-
render
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
- 指定者:
render在接口中Drawable- 覆盖:
render在类中Screen- Mappings:
Namespace Name Mixin selector official aLdws;a(Ldpi;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
private void drawDots(MatrixStack matrices)
- Mappings:
Namespace Name Mixin selector official bLdrx;b(Ldpi;)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
private void drawProgressBar(MatrixStack matrices)
- Mappings:
Namespace Name Mixin selector official cLdrx;c(Ldpi;)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
private void drawDownloadSpeed(MatrixStack matrices)
- Mappings:
Namespace Name Mixin selector official dLdrx;d(Ldpi;)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
private void drawDownloadSpeed0(MatrixStack matrices, long long2)
- Mappings:
Namespace Name Mixin selector official aLdrx;a(Ldpi;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 kLdrx;k()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 lLdrx;l()Vintermediary method_21279Lnet/minecraft/class_4392;method_21279()Vnamed downloadCancelledLnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen;downloadCancelled()V
-
-