Class RealmsSelectFileToUploadScreen
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.RealmsSelectFileToUploadScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/realms/gui/screen/RealmsSelectFileToUploadScreenintermediary net/minecraft/class_4416official gbi
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final WorldCreationTaskprivate final ThreePartsLayoutWidgetprotected TextFieldWidgetprivate static final Textprivate static final Loggerprivate final RealmsCreateWorldScreenprivate final intstatic final Textprivate ButtonWidgetprivate final longprivate WorldListWidgetFields 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
ConstructorsConstructorDescriptionRealmsSelectFileToUploadScreen(@Nullable WorldCreationTask creationTask, long worldId, int slotId, RealmsCreateWorldScreen parent) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidinit()Called when a screen should be initialized.protected voidprotected voidThis should be overridden with a call toScreen.setInitialFocus(Element)to set the element that is initially focused.private voidupload(WorldListWidget.WorldEntry worldEntry) private voidworldSelected(@Nullable LevelSummary level) 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, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, remove, removed, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, shouldPause, showsStatusEffects, switchFocus, tick, 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/RealmsSelectFileToUploadScreen;LOGGER:Lorg/slf4j/Logger;intermediary field_20049Lnet/minecraft/class_4416;field_20049:Lorg/slf4j/Logger;official cLgbi;c:Lorg/slf4j/Logger;
-
TITLE
- Mappings:
Namespace Name Mixin selector named TITLELnet/minecraft/client/realms/gui/screen/RealmsSelectFileToUploadScreen;TITLE:Lnet/minecraft/text/Text;intermediary field_46131Lnet/minecraft/class_4416;field_46131:Lnet/minecraft/class_2561;official aLgbi;a:Lyi;
-
LOADING_ERROR_TEXT
- Mappings:
Namespace Name Mixin selector named LOADING_ERROR_TEXTLnet/minecraft/client/realms/gui/screen/RealmsSelectFileToUploadScreen;LOADING_ERROR_TEXT:Lnet/minecraft/text/Text;intermediary field_44909Lnet/minecraft/class_4416;field_44909:Lnet/minecraft/class_2561;official FLgbi;F:Lyi;
-
creationTask
- Mappings:
Namespace Name Mixin selector named creationTaskLnet/minecraft/client/realms/gui/screen/RealmsSelectFileToUploadScreen;creationTask:Lnet/minecraft/client/realms/task/WorldCreationTask;intermediary field_48387Lnet/minecraft/class_4416;field_48387:Lnet/minecraft/class_4445;official GLgbi;G:Lgcs;
-
parent
- Mappings:
Namespace Name Mixin selector named parentLnet/minecraft/client/realms/gui/screen/RealmsSelectFileToUploadScreen;parent:Lnet/minecraft/client/realms/gui/screen/RealmsCreateWorldScreen;intermediary field_20050Lnet/minecraft/class_4416;field_20050:Lnet/minecraft/class_4410;official HLgbi;H:Lgbh;
-
worldId
private final long worldId- Mappings:
Namespace Name Mixin selector named worldIdLnet/minecraft/client/realms/gui/screen/RealmsSelectFileToUploadScreen;worldId:Jintermediary field_20051Lnet/minecraft/class_4416;field_20051:Jofficial ILgbi;I:J
-
slotId
private final int slotId- Mappings:
Namespace Name Mixin selector named slotIdLnet/minecraft/client/realms/gui/screen/RealmsSelectFileToUploadScreen;slotId:Iintermediary field_20052Lnet/minecraft/class_4416;field_20052:Iofficial JLgbi;J:I
-
field_62099
- Mappings:
Namespace Name Mixin selector named field_62099Lnet/minecraft/client/realms/gui/screen/RealmsSelectFileToUploadScreen;field_62099:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;intermediary field_62099Lnet/minecraft/class_4416;field_62099:Lnet/minecraft/class_8132;official KLgbi;K:Lgnc;
-
field_62100
- Mappings:
Namespace Name Mixin selector named field_62100Lnet/minecraft/client/realms/gui/screen/RealmsSelectFileToUploadScreen;field_62100:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_62100Lnet/minecraft/class_4416;field_62100:Lnet/minecraft/class_342;official bLgbi;b:Lghu;
-
worldSelectionList
- Mappings:
Namespace Name Mixin selector named worldSelectionListLnet/minecraft/client/realms/gui/screen/RealmsSelectFileToUploadScreen;worldSelectionList:Lnet/minecraft/client/gui/screen/world/WorldListWidget;intermediary field_20057Lnet/minecraft/class_4416;field_20057:Lnet/minecraft/class_528;official LLgbi;L:Lgwr;
-
uploadButton
- Mappings:
Namespace Name Mixin selector named uploadButtonLnet/minecraft/client/realms/gui/screen/RealmsSelectFileToUploadScreen;uploadButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_20053Lnet/minecraft/class_4416;field_20053:Lnet/minecraft/class_4185;official MLgbi;M:Lghl;
-
-
Constructor Details
-
RealmsSelectFileToUploadScreen
public RealmsSelectFileToUploadScreen(@Nullable WorldCreationTask creationTask, long worldId, int slotId, RealmsCreateWorldScreen parent) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/realms/gui/screen/RealmsSelectFileToUploadScreen;<init>(Lnet/minecraft/client/realms/task/WorldCreationTask;JILnet/minecraft/client/realms/gui/screen/RealmsCreateWorldScreen;)Vintermediary <init>Lnet/minecraft/class_4416;<init>(Lnet/minecraft/class_4445;JILnet/minecraft/class_4410;)Vofficial <init>Lgbi;<init>(Lgcs;JILgbh;)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.
-
refreshWidgetPositions
protected void refreshWidgetPositions()- Overrides:
refreshWidgetPositionsin classScreen- Mappings:
Namespace Name Mixin selector named refreshWidgetPositionsLnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()Vintermediary method_48640Lnet/minecraft/class_437;method_48640()Vofficial cLgqj;c()V
-
setInitialFocus
protected void setInitialFocus()This should be overridden with a call toScreen.setInitialFocus(Element)to set the element that is initially focused.- Overrides:
setInitialFocusin classScreen- Mappings:
Namespace Name Mixin selector named setInitialFocusLnet/minecraft/client/gui/screen/Screen;setInitialFocus()Vintermediary method_56131Lnet/minecraft/class_437;method_56131()Vofficial aI_Lgqj;aI_()V
-
worldSelected
- Mappings:
Namespace Name Mixin selector named worldSelectedLnet/minecraft/client/realms/gui/screen/RealmsSelectFileToUploadScreen;worldSelected(Lnet/minecraft/world/level/storage/LevelSummary;)Vintermediary method_73351Lnet/minecraft/class_4416;method_73351(Lnet/minecraft/class_34;)Vofficial aLgbi;a(Lflw;)V
-
upload
- Mappings:
Namespace Name Mixin selector named uploadLnet/minecraft/client/realms/gui/screen/RealmsSelectFileToUploadScreen;upload(Lnet/minecraft/client/gui/screen/world/WorldListWidget$WorldEntry;)Vintermediary method_21401Lnet/minecraft/class_4416;method_21401(Lnet/minecraft/class_528$class_4272;)Vofficial aLgbi;a(Lgwr$f;)V
-
getNarratedTitle
- Overrides:
getNarratedTitlein classScreen- Mappings:
Namespace Name Mixin selector named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;official iLgqj;i()Lyi;
-
close
public void close()
-