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 ell
intermediary net/minecraft/class_4406
named net/minecraft/client/realms/gui/screen/RealmsPlayerScreen
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
private class
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescription(package private) int
(package private) int
(package private) static final Identifier
private static final int
(package private) RealmsPlayerScreen.InvitedObjectSelectionList
private static final Logger
(package private) static final Text
(package private) static final Identifier
private ButtonWidget
(package private) static final Text
private static final Identifier
private final RealmsConfigureWorldScreen
(package private) int
private static final Text
(package private) static final Text
private ButtonWidget
(package private) final RealmsServer
private boolean
(package private) static final Identifier
Fields 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, WHITE
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionRealmsPlayerScreen
(RealmsConfigureWorldScreen parent, RealmsServer serverData) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
(package private) void
deop
(int index) void
init()
Called when a screen should be initialized.boolean
keyPressed
(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.(package private) void
op
(int index) void
render
(DrawContext context, int mouseX, int mouseY, float delta) private boolean
shouldRemoveAndOpdeopButtonBeVisible
(int player) (package private) void
uninvite
(int index) (package private) void
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
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, wrapScreenError
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, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lell;a:Lorg/slf4j/Logger;
intermediary field_19958
Lnet/minecraft/class_4406;field_19958:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;LOGGER:Lorg/slf4j/Logger;
-
OP_ICON
- Mappings:
Namespace Name Mixin selector official b
Lell;b:Lacq;
intermediary field_22704
Lnet/minecraft/class_4406;field_22704:Lnet/minecraft/class_2960;
named OP_ICON
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;OP_ICON:Lnet/minecraft/util/Identifier;
-
USER_ICON
- Mappings:
Namespace Name Mixin selector official c
Lell;c:Lacq;
intermediary field_22705
Lnet/minecraft/class_4406;field_22705:Lnet/minecraft/class_2960;
named USER_ICON
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;USER_ICON:Lnet/minecraft/util/Identifier;
-
CROSS_PLAYER_ICON
- Mappings:
Namespace Name Mixin selector official G
Lell;G:Lacq;
intermediary field_22706
Lnet/minecraft/class_4406;field_22706:Lnet/minecraft/class_2960;
named CROSS_PLAYER_ICON
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;CROSS_PLAYER_ICON:Lnet/minecraft/util/Identifier;
-
OPTIONS_BACKGROUND
- Mappings:
Namespace Name Mixin selector official H
Lell;H:Lacq;
intermediary field_22707
Lnet/minecraft/class_4406;field_22707:Lnet/minecraft/class_2960;
named OPTIONS_BACKGROUND
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;OPTIONS_BACKGROUND:Lnet/minecraft/util/Identifier;
-
QUESTION_TEXT
- Mappings:
Namespace Name Mixin selector official I
Lell;I:Lsw;
intermediary field_44908
Lnet/minecraft/class_4406;field_44908:Lnet/minecraft/class_2561;
named QUESTION_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;QUESTION_TEXT:Lnet/minecraft/text/Text;
-
NORMAL_TOOLTIP
- Mappings:
Namespace Name Mixin selector official J
Lell;J:Lsw;
intermediary field_26498
Lnet/minecraft/class_4406;field_26498:Lnet/minecraft/class_2561;
named NORMAL_TOOLTIP
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;NORMAL_TOOLTIP:Lnet/minecraft/text/Text;
-
OPERATOR_TOOLTIP
- Mappings:
Namespace Name Mixin selector official K
Lell;K:Lsw;
intermediary field_26499
Lnet/minecraft/class_4406;field_26499:Lnet/minecraft/class_2561;
named OPERATOR_TOOLTIP
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;OPERATOR_TOOLTIP:Lnet/minecraft/text/Text;
-
REMOVE_TOOLTIP
- Mappings:
Namespace Name Mixin selector official L
Lell;L:Lsw;
intermediary field_26500
Lnet/minecraft/class_4406;field_26500:Lnet/minecraft/class_2561;
named REMOVE_TOOLTIP
Lnet/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 M
Lell;M:I
intermediary field_44530
Lnet/minecraft/class_4406;field_44530:I
named field_44530
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;field_44530:I
-
parent
- Mappings:
Namespace Name Mixin selector official N
Lell;N:Lela;
intermediary field_19960
Lnet/minecraft/class_4406;field_19960:Lnet/minecraft/class_4388;
named parent
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;parent:Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;
-
serverData
- Mappings:
Namespace Name Mixin selector official O
Lell;O:Lejq;
intermediary field_19961
Lnet/minecraft/class_4406;field_19961:Lnet/minecraft/class_4877;
named serverData
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;serverData:Lnet/minecraft/client/realms/dto/RealmsServer;
-
invitedObjectSelectionList
RealmsPlayerScreen.InvitedObjectSelectionList invitedObjectSelectionList- Mappings:
Namespace Name Mixin selector official P
Lell;P:Lell$b;
intermediary field_19962
Lnet/minecraft/class_4406;field_19962:Lnet/minecraft/class_4406$class_4407;
named invitedObjectSelectionList
Lnet/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 Q
Lell;Q:I
intermediary field_19963
Lnet/minecraft/class_4406;field_19963:I
named column1_x
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;column1_x:I
-
column_width
int column_width- Mappings:
Namespace Name Mixin selector official R
Lell;R:I
intermediary field_19964
Lnet/minecraft/class_4406;field_19964:I
named column_width
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;column_width:I
-
removeButton
- Mappings:
Namespace Name Mixin selector official S
Lell;S:Lepi;
intermediary field_19966
Lnet/minecraft/class_4406;field_19966:Lnet/minecraft/class_4185;
named removeButton
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;removeButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
opdeopButton
- Mappings:
Namespace Name Mixin selector official T
Lell;T:Lepi;
intermediary field_19967
Lnet/minecraft/class_4406;field_19967:Lnet/minecraft/class_4185;
named opdeopButton
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;opdeopButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
player
int player- Mappings:
Namespace Name Mixin selector official U
Lell;U:I
intermediary field_19970
Lnet/minecraft/class_4406;field_19970:I
named player
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;player:I
-
stateChanged
private boolean stateChanged- Mappings:
Namespace Name Mixin selector official V
Lell;V:Z
intermediary field_19971
Lnet/minecraft/class_4406;field_19971:Z
named stateChanged
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;stateChanged:Z
-
-
Constructor Details
-
RealmsPlayerScreen
- Mappings:
Namespace Name Mixin selector official <init>
Lell;<init>(Lela;Lejq;)V
intermediary <init>
Lnet/minecraft/class_4406;<init>(Lnet/minecraft/class_4388;Lnet/minecraft/class_4877;)V
named <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 B
Lell;B()V
intermediary method_21325
Lnet/minecraft/class_4406;method_21325()V
named updateButtonStates
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;updateButtonStates()V
-
shouldRemoveAndOpdeopButtonBeVisible
private boolean shouldRemoveAndOpdeopButtonBeVisible(int player) - Mappings:
Namespace Name Mixin selector official i
Lell;i(I)Z
intermediary method_21326
Lnet/minecraft/class_4406;method_21326(I)Z
named shouldRemoveAndOpdeopButtonBeVisible
Lnet/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 inGLFW
class.- Specified by:
keyPressed
in interfaceElement
- Specified by:
keyPressed
in interfaceParentElement
- Overrides:
keyPressed
in classScreen
- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- 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:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Leqt;a(III)Z
intermediary method_25404
Lnet/minecraft/class_364;method_25404(III)Z
named keyPressed
Lnet/minecraft/client/gui/Element;keyPressed(III)Z
-
backButtonClicked
private void backButtonClicked()- Mappings:
Namespace Name Mixin selector official C
Lell;C()V
intermediary method_21333
Lnet/minecraft/class_4406;method_21333()V
named backButtonClicked
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;backButtonClicked()V
-
op
void op(int index) - Mappings:
Namespace Name Mixin selector official j
Lell;j(I)V
intermediary method_21334
Lnet/minecraft/class_4406;method_21334(I)V
named op
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;op(I)V
-
deop
void deop(int index) - Mappings:
Namespace Name Mixin selector official k
Lell;k(I)V
intermediary method_21339
Lnet/minecraft/class_4406;method_21339(I)V
named deop
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;deop(I)V
-
updateOps
- Mappings:
Namespace Name Mixin selector official a
Lell;a(Leji;)V
intermediary method_21328
Lnet/minecraft/class_4406;method_21328(Lnet/minecraft/class_4870;)V
named updateOps
Lnet/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 l
Lell;l(I)V
intermediary method_21344
Lnet/minecraft/class_4406;method_21344(I)V
named uninvite
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;uninvite(I)V
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Leqh;a(Leox;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-