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
,Renderable
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
(package private) class
(package private) static enum
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 final ResourceLocation
(package private) RealmsPlayerScreen.UserAction
private static final Component
private final RealmsConfigureWorldScreen
private static final org.slf4j.Logger
private static final Component
private static final ResourceLocation
private static final Component
private Button
private static final ResourceLocation
(package private) int
private static final Component
private Button
private String
private int
(package private) final RealmsServer
private boolean
private Component
private static final 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_FACE_SIZE, 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
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
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
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, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, 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, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, 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.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_) -
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
- Specified by:
render
in interfaceRenderable
- Overrides:
render
in classScreen
-
renderMousehoverTooltip
-
drawRemoveIcon
-
drawOpped
-
drawNormal
-