Package net.minecraft.realms
Class RealmsObjectSelectionList<E extends ExtendedList.AbstractListEntry<E>>
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<E>
- All Implemented Interfaces:
IGuiEventListener
,INestedGuiEventHandler
,IRenderable
- Direct Known Subclasses:
RealmsBackupScreen.BackupObjectSelectionList
,RealmsMainScreen.ServerList
,RealmsPendingInvitesScreen.InvitationList
,RealmsPlayerScreen.InvitedList
,RealmsSelectFileToUploadScreen.WorldSelectionList
,RealmsSelectWorldTemplateScreen.WorldTemplateSelectionList
public abstract class RealmsObjectSelectionList<E extends ExtendedList.AbstractListEntry<E>>
extends ExtendedList<E>
-
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
ModifierConstructorDescriptionprotected
RealmsObjectSelectionList
(int p_i50516_1_, int p_i50516_2_, int p_i50516_3_, int p_i50516_4_, int p_i50516_5_) -
Method Summary
Modifier and TypeMethodDescriptionint
void
clear()
int
int
int
int
getRowTop
(int p_230962_1_) int
int
void
itemClicked
(int p_231401_1_, int p_231401_2_, double p_231401_3_, double p_231401_5_, int p_231401_7_) void
replaceEntries
(Collection<E> p_230942_1_) void
selectItem
(int p_231400_1_) void
setSelectedItem
(int p_239561_1_) 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, isFocused, isMouseOver, isSelectedItem, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, moveSelection, moveSelection, refreshSelection, remove, removeEntry, render, renderBackground, renderDecorations, renderHeader, renderList, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, setSelected, 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
-
RealmsObjectSelectionList
protected RealmsObjectSelectionList(int p_i50516_1_, int p_i50516_2_, int p_i50516_3_, int p_i50516_4_, int p_i50516_5_)
-
-
Method Details
-
setSelectedItem
public void setSelectedItem(int p_239561_1_) -
selectItem
public void selectItem(int p_231400_1_) -
itemClicked
public void itemClicked(int p_231401_1_, int p_231401_2_, double p_231401_3_, double p_231401_5_, int p_231401_7_) -
getMaxPosition
public int getMaxPosition()- Overrides:
getMaxPosition
in classAbstractList<E extends ExtendedList.AbstractListEntry<E>>
-
getScrollbarPosition
public int getScrollbarPosition()- Overrides:
getScrollbarPosition
in classAbstractList<E extends ExtendedList.AbstractListEntry<E>>
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidth
in classAbstractList<E extends ExtendedList.AbstractListEntry<E>>
-
replaceEntries
- Overrides:
replaceEntries
in classAbstractList<E extends ExtendedList.AbstractListEntry<E>>
-
getItemCount
public int getItemCount()- Overrides:
getItemCount
in classAbstractList<E extends ExtendedList.AbstractListEntry<E>>
-
getRowTop
public int getRowTop(int p_230962_1_) - Overrides:
getRowTop
in classAbstractList<E extends ExtendedList.AbstractListEntry<E>>
-
getRowLeft
public int getRowLeft()- Overrides:
getRowLeft
in classAbstractList<E extends ExtendedList.AbstractListEntry<E>>
-
addEntry
- Overrides:
addEntry
in classAbstractList<E extends ExtendedList.AbstractListEntry<E>>
-
clear
public void clear()
-