Class RealmsSelectWorldTemplateScreen
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.RealmsSelectWorldTemplateScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreenintermediary net/minecraft/class_4419official fxq
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate classNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Consumer<WorldTemplate> private static final int(package private) final ThreePartsLayoutWidget(package private) static final Logger(package private) @Nullable List<TextRenderingUtils.Line> private static final Textprivate ButtonWidgetprivate static final Textprivate ButtonWidget(package private) @Nullable WorldTemplate(package private) static final Identifier(package private) RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListprivate static final Textprivate ButtonWidgetprivate final RealmsServer.WorldTypeFields 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
ConstructorsConstructorDescriptionRealmsSelectWorldTemplateScreen(Text title, Consumer<WorldTemplate> callback, RealmsServer.WorldType worldType, @Nullable WorldTemplatePaginatedList worldTemplatePaginatedList) RealmsSelectWorldTemplateScreen(Text title, Consumer<WorldTemplate> callback, RealmsServer.WorldType worldType, @Nullable WorldTemplatePaginatedList templateList, List<Text> list) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()(package private) com.mojang.datafixers.util.Either<WorldTemplatePaginatedList, Exception> fetchWorldTemplates(WorldTemplatePaginatedList templateList, RealmsClient realms) voidinit()Called when a screen should be initialized.private voidprivate voidprotected voidvoidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) private voidrenderMessages(DrawContext context, int x, int y, List<TextRenderingUtils.Line> messages) private voidprivate voidsetPagination(WorldTemplatePaginatedList templateList) (package private) voidMethods 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, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, 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/RealmsSelectWorldTemplateScreen;LOGGER:Lorg/slf4j/Logger;intermediary field_20069Lnet/minecraft/class_4419;field_20069:Lorg/slf4j/Logger;official aLfxq;a:Lorg/slf4j/Logger;
-
SLOT_FRAME_TEXTURE
- Mappings:
Namespace Name Mixin selector named SLOT_FRAME_TEXTURELnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;SLOT_FRAME_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_22721Lnet/minecraft/class_4419;field_22721:Lnet/minecraft/class_2960;official bLfxq;b:Lamj;
-
SELECT_TEXT
- Mappings:
Namespace Name Mixin selector named SELECT_TEXTLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;SELECT_TEXT:Lnet/minecraft/text/Text;intermediary field_45977Lnet/minecraft/class_4419;field_45977:Lnet/minecraft/class_2561;official cLfxq;c:Lxx;
-
TRAILER_TEXT
- Mappings:
Namespace Name Mixin selector named TRAILER_TEXTLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;TRAILER_TEXT:Lnet/minecraft/text/Text;intermediary field_45978Lnet/minecraft/class_4419;field_45978:Lnet/minecraft/class_2561;official FLfxq;F:Lxx;
-
PUBLISHER_TEXT
- Mappings:
Namespace Name Mixin selector named PUBLISHER_TEXTLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;PUBLISHER_TEXT:Lnet/minecraft/text/Text;intermediary field_45979Lnet/minecraft/class_4419;field_45979:Lnet/minecraft/class_2561;official GLfxq;G:Lxx;
-
field_45974
private static final int field_45974- See Also:
- Mappings:
Namespace Name Mixin selector named field_45974Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;field_45974:Iintermediary field_45974Lnet/minecraft/class_4419;field_45974:Iofficial HLfxq;H:I
-
layout
- Mappings:
Namespace Name Mixin selector named layoutLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;intermediary field_45976Lnet/minecraft/class_4419;field_45976:Lnet/minecraft/class_8132;official ILfxq;I:Lgjc;
-
callback
- Mappings:
Namespace Name Mixin selector named callbackLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;callback:Ljava/util/function/Consumer;intermediary field_27941Lnet/minecraft/class_4419;field_27941:Ljava/util/function/Consumer;official JLfxq;J:Ljava/util/function/Consumer;
-
templateList
- Mappings:
Namespace Name Mixin selector named templateListLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;templateList:Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionList;intermediary field_20071Lnet/minecraft/class_4419;field_20071:Lnet/minecraft/class_4419$class_4420;official KLfxq;K:Lfxq$b;
-
worldType
- Mappings:
Namespace Name Mixin selector named worldTypeLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;worldType:Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;intermediary field_20079Lnet/minecraft/class_4419;field_20079:Lnet/minecraft/class_4877$class_4321;official LLfxq;L:Lfvt$d;
-
field_62460
- Mappings:
Namespace Name Mixin selector named field_62460Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;field_62460:Ljava/util/List;intermediary field_62460Lnet/minecraft/class_4419;field_62460:Ljava/util/List;official MLfxq;M:Ljava/util/List;
-
selectButton
- Mappings:
Namespace Name Mixin selector named selectButtonLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;selectButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_20074Lnet/minecraft/class_4419;field_20074:Lnet/minecraft/class_4185;official NLfxq;N:Lgdp;
-
trailerButton
- Mappings:
Namespace Name Mixin selector named trailerButtonLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;trailerButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_20075Lnet/minecraft/class_4419;field_20075:Lnet/minecraft/class_4185;official OLfxq;O:Lgdp;
-
publisherButton
- Mappings:
Namespace Name Mixin selector named publisherButtonLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;publisherButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_20076Lnet/minecraft/class_4419;field_20076:Lnet/minecraft/class_4185;official PLfxq;P:Lgdp;
-
selectedTemplate
- Mappings:
Namespace Name Mixin selector named selectedTemplateLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;selectedTemplate:Lnet/minecraft/client/realms/dto/WorldTemplate;intermediary field_20072Lnet/minecraft/class_4419;field_20072:Lnet/minecraft/class_4890;official QLfxq;Q:Lfwo;
-
currentLink
- Mappings:
Namespace Name Mixin selector named currentLinkLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;currentLink:Ljava/lang/String;intermediary field_20078Lnet/minecraft/class_4419;field_20078:Ljava/lang/String;official RLfxq;R:Ljava/lang/String;
-
noTemplatesMessage
- Mappings:
Namespace Name Mixin selector named noTemplatesMessageLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;noTemplatesMessage:Ljava/util/List;intermediary field_20085Lnet/minecraft/class_4419;field_20085:Ljava/util/List;official SLfxq;S:Ljava/util/List;
-
-
Constructor Details
-
RealmsSelectWorldTemplateScreen
public RealmsSelectWorldTemplateScreen(Text title, Consumer<WorldTemplate> callback, RealmsServer.WorldType worldType, @Nullable @Nullable WorldTemplatePaginatedList worldTemplatePaginatedList) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;<init>(Lnet/minecraft/text/Text;Ljava/util/function/Consumer;Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;Lnet/minecraft/client/realms/dto/WorldTemplatePaginatedList;)Vintermediary <init>Lnet/minecraft/class_4419;<init>(Lnet/minecraft/class_2561;Ljava/util/function/Consumer;Lnet/minecraft/class_4877$class_4321;Lnet/minecraft/class_4891;)Vofficial <init>Lfxq;<init>(Lxx;Ljava/util/function/Consumer;Lfvt$d;Lfwp;)V
-
RealmsSelectWorldTemplateScreen
public RealmsSelectWorldTemplateScreen(Text title, Consumer<WorldTemplate> callback, RealmsServer.WorldType worldType, @Nullable @Nullable WorldTemplatePaginatedList templateList, List<Text> list) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;<init>(Lnet/minecraft/text/Text;Ljava/util/function/Consumer;Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;Lnet/minecraft/client/realms/dto/WorldTemplatePaginatedList;Ljava/util/List;)Vintermediary <init>Lnet/minecraft/class_4419;<init>(Lnet/minecraft/class_2561;Ljava/util/function/Consumer;Lnet/minecraft/class_4877$class_4321;Lnet/minecraft/class_4891;Ljava/util/List;)Vofficial <init>Lfxq;<init>(Lxx;Ljava/util/function/Consumer;Lfvt$d;Lfwp;Ljava/util/List;)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
-
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;
-
updateButtonStates
void updateButtonStates()- Mappings:
Namespace Name Mixin selector named updateButtonStatesLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;updateButtonStates()Vintermediary method_21425Lnet/minecraft/class_4419;method_21425()Vofficial oLfxq;o()V
-
close
public void close() -
selectTemplate
private void selectTemplate()- Mappings:
Namespace Name Mixin selector named selectTemplateLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;selectTemplate()Vintermediary method_21440Lnet/minecraft/class_4419;method_21440()Vofficial ILfxq;I()V
-
onTrailer
private void onTrailer()- Mappings:
Namespace Name Mixin selector named onTrailerLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;onTrailer()Vintermediary method_21442Lnet/minecraft/class_4419;method_21442()Vofficial JLfxq;J()V
-
onPublish
private void onPublish()- Mappings:
Namespace Name Mixin selector named onPublishLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;onPublish()Vintermediary method_21444Lnet/minecraft/class_4419;method_21444()Vofficial KLfxq;K()V
-
setPagination
- Mappings:
Namespace Name Mixin selector named setPaginationLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;setPagination(Lnet/minecraft/client/realms/dto/WorldTemplatePaginatedList;)Vintermediary method_21415Lnet/minecraft/class_4419;method_21415(Lnet/minecraft/class_4891;)Vofficial aLfxq;a(Lfwp;)V
-
fetchWorldTemplates
com.mojang.datafixers.util.Either<WorldTemplatePaginatedList,Exception> fetchWorldTemplates(WorldTemplatePaginatedList templateList, RealmsClient realms) - Mappings:
Namespace Name Mixin selector named fetchWorldTemplatesLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;fetchWorldTemplates(Lnet/minecraft/client/realms/dto/WorldTemplatePaginatedList;Lnet/minecraft/client/realms/RealmsClient;)Lcom/mojang/datafixers/util/Either;intermediary method_21416Lnet/minecraft/class_4419;method_21416(Lnet/minecraft/class_4891;Lnet/minecraft/class_4341;)Lcom/mojang/datafixers/util/Either;official aLfxq;a(Lfwp;Lfun;)Lcom/mojang/datafixers/util/Either;
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLget;a(Lgdd;IIF)V
-
renderMessages
private void renderMessages(DrawContext context, int x, int y, List<TextRenderingUtils.Line> messages) - Mappings:
Namespace Name Mixin selector named renderMessagesLnet/minecraft/client/realms/gui/screen/RealmsSelectWorldTemplateScreen;renderMessages(Lnet/minecraft/client/gui/DrawContext;IILjava/util/List;)Vintermediary method_21414Lnet/minecraft/class_4419;method_21414(Lnet/minecraft/class_332;IILjava/util/List;)Vofficial aLfxq;a(Lgdd;IILjava/util/List;)V
-