Class RealmsPlayerScreen
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.realms.RealmsScreen
com.mojang.realmsclient.gui.screens.RealmsPlayerScreen
- All Implemented Interfaces:
ContainerEventHandler,GuiEventListener,Widget
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class(package private) class(package private) static enumNested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult -
Field Summary
FieldsModifier and TypeFieldDescription(package private) intprivate int(package private) intprivate static final ResourceLocation(package private) RealmsPlayerScreen.UserActionprivate static final Componentprivate final RealmsConfigureWorldScreenprivate static final org.slf4j.Loggerprivate static final Componentprivate static final ResourceLocationprivate static final Componentprivate Buttonprivate static final ResourceLocation(package private) intprivate static final Componentprivate Buttonprivate Stringprivate int(package private) final RealmsServerprivate booleanprivate Componentprivate static final ResourceLocationFields inherited from class net.minecraft.realms.RealmsScreen
COLOR_BLACK, COLOR_BRIGHT_YELLOW, COLOR_BUTTON_YELLOW, COLOR_DARK_GRAY, COLOR_DARK_GREEN, COLOR_GRAY, COLOR_GREEN, COLOR_INFO, COLOR_LINK, COLOR_LINK_HOVER, COLOR_MEDIUM_GRAY, COLOR_RED, COLOR_RED_FADE, COLOR_WHITE, COLOR_YELLOW, COMPONENT_HEIGHT, EXPIRATION_NOTIFICATION_DAYS, SIZE_LIMIT, SKIN_HAT_HEIGHT, SKIN_HAT_U, SKIN_HAT_V, SKIN_HAT_WIDTH, SKIN_HEAD_HEIGHT, SKIN_HEAD_U, SKIN_HEAD_V, SKIN_HEAD_WIDTH, SKIN_TEX_HEIGHT, SKIN_TEX_WIDTH, TITLE_HEIGHT, UPDATE_BREAKS_ADVENTURE_URLFields inherited from class net.minecraft.client.gui.screens.Screen
font, height, itemRenderer, minecraft, passEvents, renderables, title, widthFields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATIONFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsConstructorDescriptionRealmsPlayerScreen(RealmsConfigureWorldScreen p_89089_, RealmsServer p_89090_) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voiddeleteFromInvitedList(int p_89199_) (package private) voiddeop(int p_89195_) (package private) voiddrawNormal(PoseStack p_89179_, int p_89180_, int p_89181_, int p_89182_, int p_89183_) (package private) void(package private) voiddrawRemoveIcon(PoseStack p_89143_, int p_89144_, int p_89145_, int p_89146_, int p_89147_) voidinit()booleankeyPressed(int p_89094_, int p_89095_, int p_89096_) (package private) voidop(int p_89193_) voidremoved()voidprotected voidrenderMousehoverTooltip(PoseStack p_89103_, Component p_89104_, int p_89105_, int p_89106_) private booleanshouldRemoveAndOpdeopButtonBeVisible(int p_89191_) (package private) voiduninvite(int p_89197_) (package private) voidprivate voidMethods inherited from class net.minecraft.realms.RealmsScreen
addLabel, createLabelNarration, rowMethods inherited from class net.minecraft.client.gui.screens.Screen
addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, children, clearWidgets, findNarratableWidget, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrationEnabled, onClose, onFilesDrop, removeWidget, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
OP_ICON_LOCATION
-
USER_ICON_LOCATION
-
CROSS_ICON_LOCATION
-
OPTIONS_BACKGROUND
-
NORMAL_USER_TOOLTIP
-
OP_TOOLTIP
-
REMOVE_ENTRY_TOOLTIP
-
INVITED_LABEL
-
toolTip
-
lastScreen
-
serverData
-
invitedObjectSelectionList
-
column1X
int column1X -
columnWidth
int columnWidth -
column2X
private int column2X -
removeButton
-
opdeopButton
-
selectedInvitedIndex
private int selectedInvitedIndex -
selectedInvited
-
player
int player -
stateChanged
private boolean stateChanged -
hoveredUserAction
RealmsPlayerScreen.UserAction hoveredUserAction
-
-
Constructor Details
-
RealmsPlayerScreen
-
-
Method Details
-
init
public void init() -
updateButtonStates
void updateButtonStates() -
shouldRemoveAndOpdeopButtonBeVisible
private boolean shouldRemoveAndOpdeopButtonBeVisible(int p_89191_) -
removed
public void removed() -
keyPressed
public boolean keyPressed(int p_89094_, int p_89095_, int p_89096_) - Specified by:
keyPressedin interfaceContainerEventHandler- Specified by:
keyPressedin interfaceGuiEventListener- Overrides:
keyPressedin classScreen
-
backButtonClicked
private void backButtonClicked() -
op
void op(int p_89193_) -
deop
void deop(int p_89195_) -
updateOps
-
uninvite
void uninvite(int p_89197_) -
deleteFromInvitedList
private void deleteFromInvitedList(int p_89199_) -
render
-
renderMousehoverTooltip
-
drawRemoveIcon
-
drawOpped
-
drawNormal
-