Class RealmsPlayerScreen.Entry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<RealmsPlayerScreen.Entry>
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<RealmsPlayerScreen.Entry>
com.mojang.realmsclient.gui.screens.RealmsPlayerScreen.Entry
- All Implemented Interfaces:
ContainerEventHandler,GuiEventListener,TabOrderedElement
- Enclosing class:
RealmsPlayerScreen
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final ResourceLocationprivate final Buttonprivate static final Componentprivate static final Componentprivate final PlayerInfoprivate static final ResourceLocationprivate static final ResourceLocationprivate static final Componentprivate final Buttonprivate final ButtonFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
listFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate ButtonList<? extends GuiEventListener> children()private voiddeop(int index) List<? extends NarratableEntry> private voidop(int index) voidrender(GuiGraphics guiGraphics, int index, int top, int left, int width, int height, int mouseX, int mouseY, boolean hovering, float partialTick) private voiduninvite(int index) 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
isFocused, isMouseOver, renderBack, setFocusedMethods 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
getRectangle, isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
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
-
Entry
-
-
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<RealmsPlayerScreen.Entry>
-
render
public void render(GuiGraphics guiGraphics, int index, int top, int left, int width, int height, int mouseX, int mouseY, boolean hovering, float partialTick) - Specified by:
renderin classAbstractSelectionList.Entry<RealmsPlayerScreen.Entry>
-