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 net.minecraft.client.gui.components.AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate ButtonList<? extends GuiEventListener> children()private voiddeop(int pIndex) List<? extends NarratableEntry> private voidop(int pIndex) voidrenderContent(GuiGraphics p_439457_, int p_440311_, int p_440163_, boolean p_440552_, float p_440331_) private voiduninvite(int pIndex) private voidprivate voidMethods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.components.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, getRectangle, isMouseOver, mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
setPositionMethods inherited from interface net.minecraft.client.gui.components.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 pIndex) -
deop
private void deop(int pIndex) -
uninvite
private void uninvite(int pIndex) -
updateOps
-
updateOpButtons
private void updateOpButtons() -
activeOpButton
-
children
-
narratables
- Specified by:
narratablesin classContainerObjectSelectionList.Entry<RealmsPlayersTab.Entry>
-
renderContent
public void renderContent(GuiGraphics p_439457_, int p_440311_, int p_440163_, boolean p_440552_, float p_440331_) - Specified by:
renderContentin classAbstractSelectionList.Entry<RealmsPlayersTab.Entry>
-