Class RealmsPlayerScreen.InvitedList
java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.FocusableGui
net.minecraft.client.gui.widget.list.AbstractList<E>
net.minecraft.client.gui.widget.list.ExtendedList<E>
net.minecraft.realms.RealmsObjectSelectionList<RealmsPlayerScreen.InvitedEntry>
com.mojang.realmsclient.gui.screens.RealmsPlayerScreen.InvitedList
- All Implemented Interfaces:
IGuiEventListener
,INestedGuiEventHandler
,IRenderable
- Enclosing class:
- RealmsPlayerScreen
class RealmsPlayerScreen.InvitedList
extends RealmsObjectSelectionList<RealmsPlayerScreen.InvitedEntry>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.list.ExtendedList
ExtendedList.AbstractListEntry<E extends ExtendedList.AbstractListEntry<E>>
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.list.AbstractList
AbstractList.Ordering
-
Field Summary
Fields inherited from class net.minecraft.client.gui.widget.list.AbstractList
centerListVertically, headerHeight, height, itemHeight, minecraft, width, x0, x1, y0, y1
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEntry
(PlayerInfo p_223870_1_) int
int
int
boolean
void
itemClicked
(int p_231401_1_, int p_231401_2_, double p_231401_3_, double p_231401_5_, int p_231401_7_) boolean
mouseClicked
(double p_231044_1_, double p_231044_3_, int p_231044_5_) void
renderBackground
(MatrixStack p_230433_1_) void
selectInviteListItem
(int p_223869_1_) void
selectItem
(int p_231400_1_) void
setSelected
(RealmsPlayerScreen.InvitedEntry p_241215_1_) Methods inherited from class net.minecraft.realms.RealmsObjectSelectionList
addEntry, clear, getItemCount, getRowLeft, getRowTop, replaceEntries, setSelectedItem
Methods inherited from class net.minecraft.client.gui.widget.list.ExtendedList
changeFocus
Methods inherited from class net.minecraft.client.gui.widget.list.AbstractList
centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFocused, getHeight, getLeft, getMaxScroll, getRight, getRowRight, getScrollAmount, getSelected, getTop, getWidth, isMouseOver, isSelectedItem, keyPressed, mouseDragged, mouseReleased, mouseScrolled, moveSelection, moveSelection, refreshSelection, remove, removeEntry, render, renderDecorations, renderHeader, renderList, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, updateScrollingState, updateSize
Methods inherited from class net.minecraft.client.gui.FocusableGui
isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, 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.IGuiEventListener
mouseMoved
Methods inherited from interface net.minecraft.client.gui.INestedGuiEventHandler
charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, setInitialFocus
-
Constructor Details
-
InvitedList
public InvitedList()
-
-
Method Details
-
addEntry
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidth
in classRealmsObjectSelectionList<RealmsPlayerScreen.InvitedEntry>
-
isFocused
public boolean isFocused()- Overrides:
isFocused
in classAbstractList<RealmsPlayerScreen.InvitedEntry>
-
mouseClicked
public boolean mouseClicked(double p_231044_1_, double p_231044_3_, int p_231044_5_) - Specified by:
mouseClicked
in interfaceIGuiEventListener
- Specified by:
mouseClicked
in interfaceINestedGuiEventHandler
- Overrides:
mouseClicked
in classAbstractList<RealmsPlayerScreen.InvitedEntry>
-
itemClicked
public void itemClicked(int p_231401_1_, int p_231401_2_, double p_231401_3_, double p_231401_5_, int p_231401_7_) - Overrides:
itemClicked
in classRealmsObjectSelectionList<RealmsPlayerScreen.InvitedEntry>
-
selectItem
public void selectItem(int p_231400_1_) - Overrides:
selectItem
in classRealmsObjectSelectionList<RealmsPlayerScreen.InvitedEntry>
-
selectInviteListItem
public void selectInviteListItem(int p_223869_1_) -
setSelected
- Overrides:
setSelected
in classAbstractList<RealmsPlayerScreen.InvitedEntry>
-
renderBackground
- Overrides:
renderBackground
in classAbstractList<RealmsPlayerScreen.InvitedEntry>
-
getScrollbarPosition
public int getScrollbarPosition()- Overrides:
getScrollbarPosition
in classRealmsObjectSelectionList<RealmsPlayerScreen.InvitedEntry>
-
getMaxPosition
public int getMaxPosition()- Overrides:
getMaxPosition
in classRealmsObjectSelectionList<RealmsPlayerScreen.InvitedEntry>
-