Class RealmsPlayersTab.PlayerEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<RealmsPlayersTab.Entry>
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<RealmsPlayersTab.Entry>
com.mojang.realmsclient.gui.screens.configuration.RealmsPlayersTab.Entry
com.mojang.realmsclient.gui.screens.configuration.RealmsPlayersTab.PlayerEntry
- All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, TabOrderedElement, LayoutElement
- Enclosing class:
RealmsPlayersTab
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final Identifierprivate final Buttonprivate static final Componentprivate static final Componentprivate final PlayerInfoprivate static final Identifierprivate static final Identifierprivate static final Componentprivate final Buttonprivate final Buttonprotected static final intFields inherited from class AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate ButtonList<? extends GuiEventListener> children()private voiddeop(int index) List<? extends NarratableEntry> private voidop(int index) voidrenderContent(GuiGraphics graphics, int mouseX, int mouseY, boolean hovered, float a) private voiduninvite(int index) private voidprivate voidMethods inherited from class ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocusedMethods inherited from class AbstractSelectionList.Entry
getContentBottom, getContentHeight, getContentRight, getContentWidth, getContentX, getContentXMiddle, getContentY, getContentYMiddle, getHeight, getRectangle, getWidth, getX, getY, isFocused, isMouseOver, setFocused, setHeight, setWidth, setX, setY, visitWidgetsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContainerEventHandler
charTyped, getBorderForArrowNavigation, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocusedMethods inherited from interface GuiEventListener
getRectangle, isMouseOver, mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface LayoutElement
setPositionMethods inherited from interface TabOrderedElement
getTabOrderGroup
-
Field Details
-
SKIN_FACE_SIZE
protected static final int SKIN_FACE_SIZE- See Also:
-
NORMAL_USER_TEXT
-
OP_TEXT
-
REMOVE_TEXT
-
MAKE_OP_SPRITE
-
REMOVE_OP_SPRITE
-
REMOVE_PLAYER_SPRITE
-
ICON_WIDTH
private static final int ICON_WIDTH- See Also:
-
ICON_HEIGHT
private static final int ICON_HEIGHT- See Also:
-
playerInfo
-
removeButton
-
makeOpButton
-
removeOpButton
-
-
Constructor Details
-
PlayerEntry
-
-
Method Details
-
op
private void op(int index) -
deop
private void deop(int index) -
uninvite
private void uninvite(int index) -
updateOps
-
updateOpButtons
private void updateOpButtons() -
activeOpButton
-
children
-
narratables
- Specified by:
narratablesin classContainerObjectSelectionList.Entry<RealmsPlayersTab.Entry>
-
renderContent
- Specified by:
renderContentin classAbstractSelectionList.Entry<RealmsPlayersTab.Entry>
-