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/RealmsInviteScreen
intermediary net/minecraft/class_4395
official fjw
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RealmsConfigureWorldScreen
private static final Text
private static final Text
private ButtonWidget
private static final Text
private final ThreePartsLayoutWidget
private static final Logger
private TextFieldWidget
private final Screen
private static final Text
private final RealmsServer
Fields inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
field_33040, field_33041, field_33055, field_33057, field_33061, field_33062, field_33063, field_39676, field_54866, MAX_FILE_SIZE
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionRealmsInviteScreen
(RealmsConfigureWorldScreen configureScreen, Screen parent, RealmsServer serverData) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
init()
Called when a screen should be initialized.private void
onInvite()
protected void
void
render
(DrawContext context, int mouseX, int mouseY, float delta) protected void
This should be overridden with a call toScreen.setInitialFocus(Element)
to set the element that is initially focused.private void
Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
addLabel, narrateLabels, row
Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldHideStatusEffectHud, shouldPause, switchFocus, tick, updateNarrator
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods 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 LOGGER
Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;LOGGER:Lorg/slf4j/Logger;
intermediary field_19878
Lnet/minecraft/class_4395;field_19878:Lorg/slf4j/Logger;
official a
Lfjw;a:Lorg/slf4j/Logger;
-
INVITE_TEXT
- Mappings:
Namespace Name Mixin selector named INVITE_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;INVITE_TEXT:Lnet/minecraft/text/Text;
intermediary field_49459
Lnet/minecraft/class_4395;field_49459:Lnet/minecraft/class_2561;
official b
Lfjw;b:Lxv;
-
INVITE_PROFILE_NAME_TEXT
- Mappings:
Namespace Name Mixin selector named INVITE_PROFILE_NAME_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;INVITE_PROFILE_NAME_TEXT:Lnet/minecraft/text/Text;
intermediary field_26489
Lnet/minecraft/class_4395;field_26489:Lnet/minecraft/class_2561;
official c
Lfjw;c:Lxv;
-
INVITING_TEXT
- Mappings:
Namespace Name Mixin selector named INVITING_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;INVITING_TEXT:Lnet/minecraft/text/Text;
intermediary field_44943
Lnet/minecraft/class_4395;field_44943:Lnet/minecraft/class_2561;
official C
Lfjw;C:Lxv;
-
PLAYER_ERROR_TEXT
- Mappings:
Namespace Name Mixin selector named PLAYER_ERROR_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;PLAYER_ERROR_TEXT:Lnet/minecraft/text/Text;
intermediary field_26490
Lnet/minecraft/class_4395;field_26490:Lnet/minecraft/class_2561;
official D
Lfjw;D:Lxv;
-
layout
- Mappings:
Namespace Name Mixin selector named layout
Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
intermediary field_49457
Lnet/minecraft/class_4395;field_49457:Lnet/minecraft/class_8132;
official E
Lfjw;E:Lfrt;
-
nameWidget
- Mappings:
Namespace Name Mixin selector named nameWidget
Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;nameWidget:Lnet/minecraft/client/gui/widget/TextFieldWidget;
intermediary field_22696
Lnet/minecraft/class_4395;field_22696:Lnet/minecraft/class_342;
official F
Lfjw;F:Lfon;
-
inviteButton
- Mappings:
Namespace Name Mixin selector named inviteButton
Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;inviteButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
intermediary field_49458
Lnet/minecraft/class_4395;field_49458:Lnet/minecraft/class_4185;
official G
Lfjw;G:Lfoe;
-
serverData
- Mappings:
Namespace Name Mixin selector named serverData
Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;serverData:Lnet/minecraft/client/realms/dto/RealmsServer;
intermediary field_19880
Lnet/minecraft/class_4395;field_19880:Lnet/minecraft/class_4877;
official H
Lfjw;H:Lfii;
-
configureScreen
- Mappings:
Namespace Name Mixin selector named configureScreen
Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;configureScreen:Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;
intermediary field_19881
Lnet/minecraft/class_4395;field_19881:Lnet/minecraft/class_4388;
official I
Lfjw;I:Lfjr;
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
intermediary field_19882
Lnet/minecraft/class_4395;field_19882:Lnet/minecraft/class_437;
official J
Lfjw;J:Lftx;
-
errorMessage
- Mappings:
Namespace Name Mixin selector named errorMessage
Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;errorMessage:Lnet/minecraft/text/Text;
intermediary field_19887
Lnet/minecraft/class_4395;field_19887:Lnet/minecraft/class_2561;
official K
Lfjw;K:Lxv;
-
-
Constructor Details
-
RealmsInviteScreen
public RealmsInviteScreen(RealmsConfigureWorldScreen configureScreen, Screen parent, RealmsServer serverData) - 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/gui/screen/Screen;Lnet/minecraft/client/realms/dto/RealmsServer;)V
intermediary <init>
Lnet/minecraft/class_4395;<init>(Lnet/minecraft/class_4388;Lnet/minecraft/class_437;Lnet/minecraft/class_4877;)V
official <init>
Lfjw;<init>(Lfjr;Lftx;Lfii;)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:
refreshWidgetPositions
in classScreen
- Mappings:
Namespace Name Mixin selector named refreshWidgetPositions
Lnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()V
intermediary method_48640
Lnet/minecraft/class_437;method_48640()V
official c
Lftx;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:
setInitialFocus
in classScreen
- Mappings:
Namespace Name Mixin selector named setInitialFocus
Lnet/minecraft/client/gui/screen/Screen;setInitialFocus()V
intermediary method_56131
Lnet/minecraft/class_437;method_56131()V
official aG_
Lftx;aG_()V
-
onInvite
private void onInvite()- Mappings:
Namespace Name Mixin selector named onInvite
Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;onInvite()V
intermediary method_21284
Lnet/minecraft/class_4395;method_21284()V
official E
Lfjw;E()V
-
showError
- Mappings:
Namespace Name Mixin selector named showError
Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;showError(Lnet/minecraft/text/Text;)V
intermediary method_21286
Lnet/minecraft/class_4395;method_21286(Lnet/minecraft/class_2561;)V
official a
Lfjw;a(Lxv;)V
-
close
public void close() -
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
official a
Lfpi;a(Lfnr;IIF)V
-