Class RealmsPlayerScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
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
,ParentElement
- Mappings:
Namespace Name official ecp
intermediary net/minecraft/class_4406
named net/minecraft/client/realms/gui/screen/RealmsPlayerScreen
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
private class
private static enum
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
private int
private static final Identifier
private static final Text
private static final org.slf4j.Logger
private static final Text
private static final Identifier
private ButtonWidget
(package private) RealmsPlayerScreen.PlayerOperation
private static final Text
private static final Identifier
private final RealmsConfigureWorldScreen
(package private) int
private static final Text
private ButtonWidget
private String
private int
(package private) final RealmsServer
private boolean
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_33045, field_33046, field_33047, field_33048, field_33049, field_33050, field_33051, field_33052, field_33053, field_33054, field_33055, field_33056, field_33057, field_33060, field_33061, field_33062, field_33063, field_33064, MAX_FILE_SIZE, RED, WHITE
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
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
private void
deleteFromInvitedList
(int selectedInvitedIndex) (package private) void
deop
(int index) (package private) void
drawNormal
(MatrixStack matrices, int x, int y, int mouseX, int mouseY) (package private) void
drawOpped
(MatrixStack matrices, int x, int y, int mouseX, int mouseY) (package private) void
drawRemoveIcon
(MatrixStack matrices, int x, int y, int mouseX, int mouseY) 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
removed()
void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) protected void
renderMousehoverTooltip
(MatrixStack matrices, @Nullable Text tooltip, int mouseX, int mouseY) 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, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, shouldCloseOnEsc, shouldPause, tick, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffset
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.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official a
Lecp;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
Lecp;b:Laaj;
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
Lecp;c:Laaj;
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 R
Lecp;R:Laaj;
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 S
Lecp;S:Laaj;
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;
-
NORMAL_TOOLTIP
- Mappings:
Namespace Name Mixin selector official T
Lecp;T:Lrm;
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 U
Lecp;U:Lrm;
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 V
Lecp;V:Lrm;
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;
-
INVITED_TEXT
- Mappings:
Namespace Name Mixin selector official W
Lecp;W:Lrm;
intermediary field_26501
Lnet/minecraft/class_4406;field_26501:Lnet/minecraft/class_2561;
named INVITED_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;INVITED_TEXT:Lnet/minecraft/text/Text;
-
tooltip
- Mappings:
Namespace Name Mixin selector official X
Lecp;X:Lrm;
intermediary field_19959
Lnet/minecraft/class_4406;field_19959:Lnet/minecraft/class_2561;
named tooltip
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;tooltip:Lnet/minecraft/text/Text;
-
parent
- Mappings:
Namespace Name Mixin selector official Y
Lecp;Y:Lece;
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 Z
Lecp;Z:Leax;
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
- Mappings:
Namespace Name Mixin selector official aa
Lecp;aa:Lecp$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 ab
Lecp;ab: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 ac
Lecp;ac:I
intermediary field_19964
Lnet/minecraft/class_4406;field_19964:I
named column_width
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;column_width:I
-
column2_x
private int column2_x- Mappings:
Namespace Name Mixin selector official ad
Lecp;ad:I
intermediary field_19965
Lnet/minecraft/class_4406;field_19965:I
named column2_x
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;column2_x:I
-
removeButton
- Mappings:
Namespace Name Mixin selector official ae
Lecp;ae:Legr;
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 af
Lecp;af:Legr;
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;
-
selectedInvitedIndex
private int selectedInvitedIndex- Mappings:
Namespace Name Mixin selector official ag
Lecp;ag:I
intermediary field_19968
Lnet/minecraft/class_4406;field_19968:I
named selectedInvitedIndex
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;selectedInvitedIndex:I
-
selectedInvited
- Mappings:
Namespace Name Mixin selector official ah
Lecp;ah:Ljava/lang/String;
intermediary field_19969
Lnet/minecraft/class_4406;field_19969:Ljava/lang/String;
named selectedInvited
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;selectedInvited:Ljava/lang/String;
-
player
int player- Mappings:
Namespace Name Mixin selector official ai
Lecp;ai: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 aj
Lecp;aj:Z
intermediary field_19971
Lnet/minecraft/class_4406;field_19971:Z
named stateChanged
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;stateChanged:Z
-
operation
RealmsPlayerScreen.PlayerOperation operation- Mappings:
Namespace Name Mixin selector official ak
Lecp;ak:Lecp$c;
intermediary field_26496
Lnet/minecraft/class_4406;field_26496:Lnet/minecraft/class_4406$class_5488;
named operation
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;operation:Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen$PlayerOperation;
-
-
Constructor Details
-
RealmsPlayerScreen
- Mappings:
Namespace Name Mixin selector official <init>
Lecp;<init>(Lece;Leax;)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.
-
updateButtonStates
void updateButtonStates()- Mappings:
Namespace Name Mixin selector official j
Lecp;j()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 k
Lecp;k(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
-
removed
public void removed() -
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
Lehp;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 x
Lecp;x()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 l
Lecp;l(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 m
Lecp;m(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
Lecp;a(Leaq;)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 n
Lecp;n(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
-
deleteFromInvitedList
private void deleteFromInvitedList(int selectedInvitedIndex) - Mappings:
Namespace Name Mixin selector official o
Lecp;o(I)V
intermediary method_21347
Lnet/minecraft/class_4406;method_21347(I)V
named deleteFromInvitedList
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;deleteFromInvitedList(I)V
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Lehm;a(Ldzs;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
renderMousehoverTooltip
protected void renderMousehoverTooltip(MatrixStack matrices, @Nullable @Nullable Text tooltip, int mouseX, int mouseY) - Mappings:
Namespace Name Mixin selector official a
Lecp;a(Ldzs;Lrm;II)V
intermediary method_21332
Lnet/minecraft/class_4406;method_21332(Lnet/minecraft/class_4587;Lnet/minecraft/class_2561;II)V
named renderMousehoverTooltip
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;renderMousehoverTooltip(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/text/Text;II)V
-
drawRemoveIcon
- Mappings:
Namespace Name Mixin selector official c
Lecp;c(Ldzs;IIII)V
intermediary method_21327
Lnet/minecraft/class_4406;method_21327(Lnet/minecraft/class_4587;IIII)V
named drawRemoveIcon
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;drawRemoveIcon(Lnet/minecraft/client/util/math/MatrixStack;IIII)V
-
drawOpped
- Mappings:
Namespace Name Mixin selector official d
Lecp;d(Ldzs;IIII)V
intermediary method_21335
Lnet/minecraft/class_4406;method_21335(Lnet/minecraft/class_4587;IIII)V
named drawOpped
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;drawOpped(Lnet/minecraft/client/util/math/MatrixStack;IIII)V
-
drawNormal
- Mappings:
Namespace Name Mixin selector official e
Lecp;e(Ldzs;IIII)V
intermediary method_21340
Lnet/minecraft/class_4406;method_21340(Lnet/minecraft/class_4587;IIII)V
named drawNormal
Lnet/minecraft/client/realms/gui/screen/RealmsPlayerScreen;drawNormal(Lnet/minecraft/client/util/math/MatrixStack;IIII)V
-