Class RealmsInviteScreen
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.RealmsInviteScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/realms/gui/screen/RealmsInviteScreenintermediary net/minecraft/class_4395official fxz
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RealmsConfigureWorldScreenprivate static final Textprivate static final Textprivate static final Textprivate @Nullable ButtonWidgetprivate static final Textprivate final ThreePartsLayoutWidgetprivate @Nullable TextFieldWidgetprivate static final Textprivate final RealmsServerFields 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
ConstructorsConstructorDescriptionRealmsInviteScreen(RealmsConfigureWorldScreen configureScreen, RealmsServer serverData) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidinit()Called when a screen should be initialized.private voidonInvite()protected voidvoidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) protected voidThis should be overridden with a call toScreen.setInitialFocus(Element)to set the element that is initially focused.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, getNarratedTitle, 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, 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
-
INVITE_TEXT
- Mappings:
Namespace Name Mixin selector named INVITE_TEXTLnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;INVITE_TEXT:Lnet/minecraft/text/Text;intermediary field_49459Lnet/minecraft/class_4395;field_49459:Lnet/minecraft/class_2561;official aLfxz;a:Lxx;
-
INVITE_PROFILE_NAME_TEXT
- Mappings:
Namespace Name Mixin selector named INVITE_PROFILE_NAME_TEXTLnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;INVITE_PROFILE_NAME_TEXT:Lnet/minecraft/text/Text;intermediary field_26489Lnet/minecraft/class_4395;field_26489:Lnet/minecraft/class_2561;official bLfxz;b:Lxx;
-
INVITING_TEXT
- Mappings:
Namespace Name Mixin selector named INVITING_TEXTLnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;INVITING_TEXT:Lnet/minecraft/text/Text;intermediary field_44943Lnet/minecraft/class_4395;field_44943:Lnet/minecraft/class_2561;official cLfxz;c:Lxx;
-
PLAYER_ERROR_TEXT
- Mappings:
Namespace Name Mixin selector named PLAYER_ERROR_TEXTLnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;PLAYER_ERROR_TEXT:Lnet/minecraft/text/Text;intermediary field_26490Lnet/minecraft/class_4395;field_26490:Lnet/minecraft/class_2561;official FLfxz;F:Lxx;
-
field_61501
- Mappings:
Namespace Name Mixin selector named field_61501Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;field_61501:Lnet/minecraft/text/Text;intermediary field_61501Lnet/minecraft/class_4395;field_61501:Lnet/minecraft/class_2561;official GLfxz;G:Lxx;
-
layout
- Mappings:
Namespace Name Mixin selector named layoutLnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;intermediary field_49457Lnet/minecraft/class_4395;field_49457:Lnet/minecraft/class_8132;official HLfxz;H:Lgjd;
-
nameWidget
- Mappings:
Namespace Name Mixin selector named nameWidgetLnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;nameWidget:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_22696Lnet/minecraft/class_4395;field_22696:Lnet/minecraft/class_342;official ILfxz;I:Lgdz;
-
inviteButton
- Mappings:
Namespace Name Mixin selector named inviteButtonLnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;inviteButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_49458Lnet/minecraft/class_4395;field_49458:Lnet/minecraft/class_4185;official JLfxz;J:Lgdq;
-
serverData
- Mappings:
Namespace Name Mixin selector named serverDataLnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;serverData:Lnet/minecraft/client/realms/dto/RealmsServer;intermediary field_19880Lnet/minecraft/class_4395;field_19880:Lnet/minecraft/class_4877;official KLfxz;K:Lfvu;
-
configureScreen
- Mappings:
Namespace Name Mixin selector named configureScreenLnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;configureScreen:Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;intermediary field_19881Lnet/minecraft/class_4395;field_19881:Lnet/minecraft/class_4388;official LLfxz;L:Lfxy;
-
errorMessage
- Mappings:
Namespace Name Mixin selector named errorMessageLnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;errorMessage:Lnet/minecraft/text/Text;intermediary field_19887Lnet/minecraft/class_4395;field_19887:Lnet/minecraft/class_2561;official MLfxz;M:Lxx;
-
-
Constructor Details
-
RealmsInviteScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;Lnet/minecraft/client/realms/dto/RealmsServer;)Vintermediary <init>Lnet/minecraft/class_4395;<init>(Lnet/minecraft/class_4388;Lnet/minecraft/class_4877;)Vofficial <init>Lfxz;<init>(Lfxy;Lfvu;)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 cLgmk;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_Lgmk;aI_()V
-
onInvite
private void onInvite()- Mappings:
Namespace Name Mixin selector named onInviteLnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;onInvite()Vintermediary method_21284Lnet/minecraft/class_4395;method_21284()Vofficial oLfxz;o()V
-
showError
- Mappings:
Namespace Name Mixin selector named showErrorLnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;showError(Lnet/minecraft/text/Text;)Vintermediary method_21286Lnet/minecraft/class_4395;method_21286(Lnet/minecraft/class_2561;)Vofficial aLfxz;a(Lxx;)V
-
close
public void close() -
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 aLgeu;a(Lgde;IIF)V
-