Class RealmsPlayerScreen
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.RealmsPlayerScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name official eldintermediary net/minecraft/class_4406named net/minecraft/client/realms/gui/screen/RealmsPlayerScreen
-
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) int(package private) int(package private) static final Identifierprivate static final intprivate static final Text(package private) RealmsPlayerScreen.InvitedObjectSelectionListprivate static final Logger(package private) static final Text(package private) static final Identifierprivate ButtonWidget(package private) static final Textprivate static final Identifierprivate final RealmsConfigureWorldScreen(package private) int(package private) static final Textprivate ButtonWidget(package private) final RealmsServerprivate boolean(package private) static final IdentifierFields inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
ADVENTURE_MAPS_IN_1_9_URL, field_33036, field_33037, field_33038, field_33039, field_33040, field_33041, field_33042, field_33043, field_33055, field_33056, field_33057, field_33060, field_33061, field_33062, field_33063, field_33064, field_39676, MAX_FILE_SIZE, RED, WHITEFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionRealmsPlayerScreen(RealmsConfigureWorldScreen parent, RealmsServer serverData) -
Method Summary
Modifier and TypeMethodDescriptionprivate void(package private) voiddeop(int index) voidinit()Called when a screen should be initialized.booleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.(package private) voidop(int index) voidrender(DrawContext context, int mouseX, int mouseY, float delta) private booleanshouldRemoveAndOpdeopButtonBeVisible(int player) (package private) voiduninvite(int index) (package private) voidprivate voidMethods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
addLabel, narrateLabels, rowMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenErrorMethods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLeld;a:Lorg/slf4j/Logger;intermediary field_19958Lnet/minecraft/class_4406;field_19958:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;LOGGER:Lorg/slf4j/Logger;
-
OP_ICON
- Mappings:
Namespace Name Mixin selector official bLeld;b:Lacq;intermediary field_22704Lnet/minecraft/class_4406;field_22704:Lnet/minecraft/class_2960;named OP_ICONLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;OP_ICON:Lnet/minecraft/util/Identifier;
-
USER_ICON
- Mappings:
Namespace Name Mixin selector official cLeld;c:Lacq;intermediary field_22705Lnet/minecraft/class_4406;field_22705:Lnet/minecraft/class_2960;named USER_ICONLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;USER_ICON:Lnet/minecraft/util/Identifier;
-
CROSS_PLAYER_ICON
- Mappings:
Namespace Name Mixin selector official FLeld;F:Lacq;intermediary field_22706Lnet/minecraft/class_4406;field_22706:Lnet/minecraft/class_2960;named CROSS_PLAYER_ICONLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;CROSS_PLAYER_ICON:Lnet/minecraft/util/Identifier;
-
OPTIONS_BACKGROUND
- Mappings:
Namespace Name Mixin selector official GLeld;G:Lacq;intermediary field_22707Lnet/minecraft/class_4406;field_22707:Lnet/minecraft/class_2960;named OPTIONS_BACKGROUNDLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;OPTIONS_BACKGROUND:Lnet/minecraft/util/Identifier;
-
field_44908
- Mappings:
Namespace Name Mixin selector official HLeld;H:Lsw;intermediary field_44908Lnet/minecraft/class_4406;field_44908:Lnet/minecraft/class_2561;named field_44908Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;field_44908:Lnet/minecraft/text/Text;
-
NORMAL_TOOLTIP
- Mappings:
Namespace Name Mixin selector official ILeld;I:Lsw;intermediary field_26498Lnet/minecraft/class_4406;field_26498:Lnet/minecraft/class_2561;named NORMAL_TOOLTIPLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;NORMAL_TOOLTIP:Lnet/minecraft/text/Text;
-
OPERATOR_TOOLTIP
- Mappings:
Namespace Name Mixin selector official JLeld;J:Lsw;intermediary field_26499Lnet/minecraft/class_4406;field_26499:Lnet/minecraft/class_2561;named OPERATOR_TOOLTIPLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;OPERATOR_TOOLTIP:Lnet/minecraft/text/Text;
-
REMOVE_TOOLTIP
- Mappings:
Namespace Name Mixin selector official KLeld;K:Lsw;intermediary field_26500Lnet/minecraft/class_4406;field_26500:Lnet/minecraft/class_2561;named REMOVE_TOOLTIPLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;REMOVE_TOOLTIP:Lnet/minecraft/text/Text;
-
field_44530
private static final int field_44530- See Also:
- Mappings:
Namespace Name Mixin selector official LLeld;L:Iintermediary field_44530Lnet/minecraft/class_4406;field_44530:Inamed field_44530Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;field_44530:I
-
parent
- Mappings:
Namespace Name Mixin selector official MLeld;M:Leks;intermediary field_19960Lnet/minecraft/class_4406;field_19960:Lnet/minecraft/class_4388;named parentLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;parent:Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;
-
serverData
- Mappings:
Namespace Name Mixin selector official NLeld;N:Leji;intermediary field_19961Lnet/minecraft/class_4406;field_19961:Lnet/minecraft/class_4877;named serverDataLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;serverData:Lnet/minecraft/client/realms/dto/RealmsServer;
-
invitedObjectSelectionList
RealmsPlayerScreen.InvitedObjectSelectionList invitedObjectSelectionList- Mappings:
Namespace Name Mixin selector official OLeld;O:Leld$b;intermediary field_19962Lnet/minecraft/class_4406;field_19962:Lnet/minecraft/class_4406$class_4407;named invitedObjectSelectionListLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;invitedObjectSelectionList:Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$InvitedObjectSelectionList;
-
column1_x
int column1_x- Mappings:
Namespace Name Mixin selector official PLeld;P:Iintermediary field_19963Lnet/minecraft/class_4406;field_19963:Inamed column1_xLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;column1_x:I
-
column_width
int column_width- Mappings:
Namespace Name Mixin selector official QLeld;Q:Iintermediary field_19964Lnet/minecraft/class_4406;field_19964:Inamed column_widthLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;column_width:I
-
removeButton
- Mappings:
Namespace Name Mixin selector official RLeld;R:Lepa;intermediary field_19966Lnet/minecraft/class_4406;field_19966:Lnet/minecraft/class_4185;named removeButtonLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;removeButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
opdeopButton
- Mappings:
Namespace Name Mixin selector official SLeld;S:Lepa;intermediary field_19967Lnet/minecraft/class_4406;field_19967:Lnet/minecraft/class_4185;named opdeopButtonLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;opdeopButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
player
int player- Mappings:
Namespace Name Mixin selector official TLeld;T:Iintermediary field_19970Lnet/minecraft/class_4406;field_19970:Inamed playerLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;player:I
-
stateChanged
private boolean stateChanged- Mappings:
Namespace Name Mixin selector official ULeld;U:Zintermediary field_19971Lnet/minecraft/class_4406;field_19971:Znamed stateChangedLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;stateChanged:Z
-
-
Constructor Details
-
RealmsPlayerScreen
- Mappings:
Namespace Name Mixin selector official <init>Leld;<init>(Leks;Leji;)Vintermediary <init>Lnet/minecraft/class_4406;<init>(Lnet/minecraft/class_4388;Lnet/minecraft/class_4877;)Vnamed <init>Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;Lnet/minecraft/client/realms/dto/RealmsServer;)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.
This should call
Screen.setInitialFocus(net.minecraft.client.gui.Element)to set the element that is initially focused. -
updateButtonStates
void updateButtonStates()- Mappings:
Namespace Name Mixin selector official BLeld;B()Vintermediary method_21325Lnet/minecraft/class_4406;method_21325()Vnamed updateButtonStatesLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;updateButtonStates()V
-
shouldRemoveAndOpdeopButtonBeVisible
private boolean shouldRemoveAndOpdeopButtonBeVisible(int player) - Mappings:
Namespace Name Mixin selector official iLeld;i(I)Zintermediary method_21326Lnet/minecraft/class_4406;method_21326(I)Znamed shouldRemoveAndOpdeopButtonBeVisibleLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;shouldRemoveAndOpdeopButtonBeVisible(I)Z
-
keyPressed
public boolean keyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Specified by:
keyPressedin interfaceElement- Specified by:
keyPressedin interfaceParentElement- Overrides:
keyPressedin classScreen- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLeqk;a(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-
backButtonClicked
private void backButtonClicked()- Mappings:
Namespace Name Mixin selector official CLeld;C()Vintermediary method_21333Lnet/minecraft/class_4406;method_21333()Vnamed backButtonClickedLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;backButtonClicked()V
-
op
void op(int index) - Mappings:
Namespace Name Mixin selector official jLeld;j(I)Vintermediary method_21334Lnet/minecraft/class_4406;method_21334(I)Vnamed opLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;op(I)V
-
deop
void deop(int index) - Mappings:
Namespace Name Mixin selector official kLeld;k(I)Vintermediary method_21339Lnet/minecraft/class_4406;method_21339(I)Vnamed deopLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;deop(I)V
-
updateOps
- Mappings:
Namespace Name Mixin selector official aLeld;a(Leja;)Vintermediary method_21328Lnet/minecraft/class_4406;method_21328(Lnet/minecraft/class_4870;)Vnamed updateOpsLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;updateOps(Lnet/minecraft/client/realms/dto/Ops;)V
-
uninvite
void uninvite(int index) - Mappings:
Namespace Name Mixin selector official lLeld;l(I)Vintermediary method_21344Lnet/minecraft/class_4406;method_21344(I)Vnamed uninviteLnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;uninvite(I)V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLepy;a(Leop;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-