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 int
private static final int
private static final ResourceLocation
private final Button
private static final Component
private static final Component
private final PlayerInfo
private static final ResourceLocation
private static final ResourceLocation
private static final Component
private final Button
private final Button
Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
list
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Button
List
<? extends GuiEventListener> children()
private void
deop
(int pIndex) List
<? extends NarratableEntry> private void
op
(int pIndex) void
render
(GuiGraphics pGuiGraphics, int pIndex, int pTop, int pLeft, int pWidth, int pHeight, int pMouseX, int pMouseY, boolean pHovering, float pPartialTick) private void
uninvite
(int pIndex) private void
private void
Methods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, renderBack, setFocused
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
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocused
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getRectangle, isMouseOver, mouseMoved
Methods 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 pIndex) -
deop
private void deop(int pIndex) -
uninvite
private void uninvite(int pIndex) -
updateOps
-
updateOpButtons
private void updateOpButtons() -
activeOpButton
-
children
-
narratables
- Specified by:
narratables
in classContainerObjectSelectionList.Entry<RealmsPlayerScreen.Entry>
-
render
public void render(GuiGraphics pGuiGraphics, int pIndex, int pTop, int pLeft, int pWidth, int pHeight, int pMouseX, int pMouseY, boolean pHovering, float pPartialTick) - Specified by:
render
in classAbstractSelectionList.Entry<RealmsPlayerScreen.Entry>
-