类 RealmsUploadScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.realms.RealmsScreen
com.mojang.realmsclient.gui.screens.RealmsUploadScreen
- 所有已实现的接口:
RealmsWorldUploadStatusTracker
,ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
字段概要
字段修饰符和类型字段说明private Button
private static final int
private static final int
private static final int
private static final int
private Button
private boolean
(专用程序包) final AtomicReference
<RealmsWorldUpload> private static final String[]
private Component[]
private final RealmsResetWorldScreen
private final HeaderAndFooterLayout
private final com.google.common.util.concurrent.RateLimiter
private String
private final RealmCreationTask
private final long
private final LevelSummary
private boolean
private final int
private Component
private int
private boolean
private boolean
private final UploadStatus
private static final Component
从类继承的字段 net.minecraft.realms.RealmsScreen
COLOR_DARK_GRAY, COLOR_GREEN, COLOR_LINK, COLOR_LINK_HOVER, COLOR_MEDIUM_GRAY, EXPIRATION_NOTIFICATION_DAYS, HARDCORE_HEART_SIZE, SIZE_LIMIT, SKIN_FACE_SIZE, TITLE_HEIGHT
从类继承的字段 net.minecraft.client.gui.screens.Screen
CUBE_MAP, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, PANORAMA, renderables, screenExecutor, title, width
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器构造器说明RealmsUploadScreen
(RealmCreationTask p_332847_, long p_90083_, int p_90084_, RealmsResetWorldScreen p_90085_, LevelSummary p_90086_) -
方法概要
修饰符和类型方法说明private Component
private void
drawProgressBar
(GuiGraphics p_282575_) private void
drawUploadSpeed
(GuiGraphics p_281884_) private void
drawUploadSpeed0
(GuiGraphics p_282279_, long p_282827_) void
init()
boolean
keyPressed
(int p_90089_, int p_90090_, int p_90091_) private void
onBack()
private void
onCancel()
void
render
(GuiGraphics p_282140_, int p_90097_, int p_90098_, float p_90099_) protected void
private void
setErrorMessage
(Component... p_90113_) void
void
tick()
private void
upload()
从类继承的方法 net.minecraft.realms.RealmsScreen
addLabel, createLabelNarration, row
从类继承的方法 net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearTooltipForNextRenderPass, clearWidgets, fillCrashDetails, findNarratableWidget, getBackgroundMusic, getFont, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, showsActiveEffects, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatus
从类继承的方法 net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, mouseMoved
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
BAR_WIDTH
private static final int BAR_WIDTH- 另请参阅:
-
BAR_TOP
private static final int BAR_TOP- 另请参阅:
-
BAR_BOTTOM
private static final int BAR_BOTTOM- 另请参阅:
-
BAR_BORDER
private static final int BAR_BORDER- 另请参阅:
-
DOTS
-
VERIFYING_TEXT
-
lastScreen
-
selectedLevel
-
realmCreationTask
-
realmId
private final long realmId -
slotId
private final int slotId -
currentUpload
-
uploadStatus
-
narrationRateLimiter
private final com.google.common.util.concurrent.RateLimiter narrationRateLimiter -
errorMessage
-
status
-
progress
-
cancelled
private volatile boolean cancelled -
uploadFinished
private volatile boolean uploadFinished -
showDots
private volatile boolean showDots -
uploadStarted
private volatile boolean uploadStarted -
backButton
-
cancelButton
-
tickCount
private int tickCount -
layout
-
-
构造器详细资料
-
RealmsUploadScreen
public RealmsUploadScreen(@Nullable RealmCreationTask p_332847_, long p_90083_, int p_90084_, RealmsResetWorldScreen p_90085_, LevelSummary p_90086_)
-
-
方法详细资料
-
init
public void init() -
repositionElements
protected void repositionElements()- 覆盖:
repositionElements
在类中Screen
-
onBack
private void onBack() -
onCancel
private void onCancel() -
keyPressed
public boolean keyPressed(int p_90089_, int p_90090_, int p_90091_) - 指定者:
keyPressed
在接口中ContainerEventHandler
- 指定者:
keyPressed
在接口中GuiEventListener
- 覆盖:
keyPressed
在类中Screen
-
render
- 指定者:
render
在接口中Renderable
- 覆盖:
render
在类中Screen
-
drawProgressBar
-
drawUploadSpeed
-
drawUploadSpeed0
-
tick
public void tick() -
createProgressNarrationMessage
-
upload
private void upload() -
setErrorMessage
-
getUploadStatus
-
setUploading
public void setUploading()- 指定者:
setUploading
在接口中RealmsWorldUploadStatusTracker
-