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 fxp
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable WorldCreationTaskprivate final ThreePartsLayoutWidgetprotected @Nullable TextFieldWidgetprivate static final Textprivate static final Loggerprivate final RealmsCreateWorldScreenprivate final intstatic final Textprivate @Nullable ButtonWidgetprivate final longprivate @Nullable 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, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, 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 cLfxp;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 aLfxp;a:Lxx;
-
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 FLfxp;F:Lxx;
-
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 GLfxp;G:Lfyz;
-
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 HLfxp;H:Lfxo;
-
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 ILfxp;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 JLfxp;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 KLfxp;K:Lgjc;
-
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 bLfxp;b:Lgdy;
-
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 LLfxp;L:Lgsr;
-
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 MLfxp;M:Lgdp;
-
-
Constructor Details
-
RealmsSelectFileToUploadScreen
public RealmsSelectFileToUploadScreen(@Nullable @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>Lfxp;<init>(Lfyz;JILfxo;)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 cLgmj;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_Lgmj;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 aLfxp;a(Lfii;)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 aLfxp;a(Lgsr$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 iLgmj;i()Lxx;
-
close
public void close()
-