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
Modifier and TypeClassDescription(package private) class
(package private) class
(package private) static class
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescription(package private) int
private int
(package private) int
private static ResourceLocation
(package private) RealmsPlayerScreen.UserAction
private static Component
private RealmsConfigureWorldScreen
private static org.apache.logging.log4j.Logger
private static Component
private static ResourceLocation
private static Component
private Button
private static ResourceLocation
(package private) int
private static Component
private Button
private String
private int
(package private) RealmsServer
private boolean
private Component
private static ResourceLocation
Fields 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_URL
Fields inherited from class net.minecraft.client.gui.screens.Screen
font, height, itemRenderer, minecraft, passEvents, renderables, title, width
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
ConstructorDescriptionRealmsPlayerScreen(RealmsConfigureWorldScreen p_89089_, RealmsServer p_89090_)
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
deleteFromInvitedList(int p_89199_)
(package private) void
deop(int p_89195_)
(package private) void
drawNormal(PoseStack p_89179_, int p_89180_, int p_89181_, int p_89182_, int p_89183_)
(package private) void
(package private) void
drawRemoveIcon(PoseStack p_89143_, int p_89144_, int p_89145_, int p_89146_, int p_89147_)
void
init()
boolean
keyPressed(int p_89094_, int p_89095_, int p_89096_)
(package private) void
op(int p_89193_)
void
removed()
void
protected void
renderMousehoverTooltip(PoseStack p_89103_, Component p_89104_, int p_89105_, int p_89106_)
private boolean
shouldRemoveAndOpdeopButtonBeVisible(int p_89191_)
(package private) void
uninvite(int p_89197_)
(package private) void
private void
Methods inherited from class net.minecraft.realms.RealmsScreen
addLabel, createLabelNarration, row
Methods 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, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrationEnabled, onClose, onFilesDrop, removeWidget, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentToolTip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
Methods 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, vLine
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.components.events.ContainerEventHandler
changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.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:
keyPressed
in interfaceContainerEventHandler
- Specified by:
keyPressed
in interfaceGuiEventListener
- Overrides:
keyPressed
in 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
-