net.minecraft.client.realms.gui.screen

public class RealmsUploadScreen

extends RealmsScreen implements UploadProgressTracker

All mapped superinterfaces:

ParentElement, Element, Navigable, Drawable, UploadProgressTracker

com.mojang.realmsclient.gui.screens.RealmsUploadScreen
net.minecraft.class_4427
net.minecraft.client.realms.gui.screen.RealmsUploadScreen

Field summary

Modifier and TypeField
private static final int
BAR_WIDTH
field_41776
field_41776
private static final int
BAR_TOP
field_41773
field_41773
private static final int
BAR_BOTTOM
field_41774
field_41774
private static final int
BAR_BORDER
field_41775
field_41775
private static final String[]
DOTS
field_20191
DOTS
private static final Text
VERIFYING_TEXT
field_26526
VERIFYING_TEXT
private final RealmsCreateWorldScreen
lastScreen
field_20175
parent
private final LevelSummary
selectedLevel
field_20176
selectedLevel
private final WorldCreationTask
realmCreationTask
field_48388
creationTask
private final long
realmId
field_20177
worldId
private final int
slotId
field_20178
slotId
final AtomicReference<RealmsUploader>
currentUpload
field_54387
uploader
private final UploadProgress
uploadStatus
field_20179
uploadProgress
private final com.google.common.util.concurrent.RateLimiter
narrationRateLimiter
field_20180
narrationRateLimiter
private volatile Text[]
errorMessage
field_20503
statusTexts
private volatile Text
status
field_20182
status
private volatile String
progress
field_20183
progress
private volatile boolean
cancelled
field_20184
cancelled
private volatile boolean
uploadFinished
field_20185
uploadFinished
private volatile boolean
showDots
field_20186
showDots
private volatile boolean
uploadStarted
field_20187
uploadStarted
private ButtonWidget
backButton
field_20188
backButton
private ButtonWidget
cancelButton
field_20189
cancelButton
private int
tickCount
field_20190
animTick
private final ThreePartsLayoutWidget
layout
field_48389
layout

Constructor summary

ModifierConstructor
public (WorldCreationTask creationTask, long worldId, int slotId, RealmsCreateWorldScreen parent, LevelSummary selectedLevel)

Method summary

Modifier and TypeMethod
public void
init()
method_25426()
init()
protected void
repositionElements()
method_48640()
refreshWidgetPositions()
private void
onBack()
method_21525()
onBack()
private void
onCancel()
method_21528()
onCancel()
public boolean
keyPressed(KeyEvent event)
method_25404(class_11908 arg0)
keyPressed(KeyInput arg0)
public void
extractRenderState(GuiGraphicsExtractor graphics, int xm, int ym, float a)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
private void
extractProgressBar(GuiGraphicsExtractor graphics)
method_21532(class_332 arg0)
drawProgressBar(DrawContext context)
private void
extractUploadSpeed(GuiGraphicsExtractor graphics)
method_21534(class_332 arg0)
drawUploadSpeed(DrawContext context)
private void
extractUploadSpeed0(GuiGraphicsExtractor graphics, long bytesPerSecond)
method_21526(class_332 arg0, long arg1)
drawUploadSpeed0(DrawContext context, long bytesPerSecond)
public void
tick()
method_25393()
tick()
private Text
createProgressNarrationMessage()
method_37014()
getNarration()
private void
upload()
method_21536()
upload()
private void
setErrorMessage(Component... messages)
method_27460(class_2561... arg0)
setStatusTexts(Text... statusTexts)
public UploadProgress
getUploadStatus()
method_64349()
getUploadProgress()
public void
setUploading()
method_64350()
updateProgressDisplay()
private Object
lambda$upload$0(Object arg0, Throwable arg1)
method_64364(Object arg0, Throwable arg1)
method_64364(Object v, Throwable throwable)
private static void
lambda$init$4(RealmsUploadScreen arg0, AbstractWidget arg1)
method_56133(class_4427 arg0, class_339 arg1)
method_56133(RealmsUploadScreen arg0, ClickableWidget arg1)
private void
lambda$init$2()
method_25278()
method_25278()
private void
lambda$init$3()
method_56132()
method_56132()
private void
lambda$init$1(Button arg0)
method_25276(class_4185 arg0)
method_25276(ButtonWidget button)
private void
lambda$init$0(Button arg0)
method_25277(class_4185 arg0)
method_25277(ButtonWidget button)