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
Constructors Modifier Constructor Description protectedRealmsObjectSelectionList(int p_i50516_1_, int p_i50516_2_, int p_i50516_3_, int p_i50516_4_, int p_i50516_5_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intaddEntry(E p_230513_1_)voidclear()intgetItemCount()intgetMaxPosition()intgetRowLeft()intgetRowTop(int p_230962_1_)intgetRowWidth()intgetScrollbarPosition()voiditemClicked(int p_231401_1_, int p_231401_2_, double p_231401_3_, double p_231401_5_, int p_231401_7_)voidreplaceEntries(java.util.Collection<E> p_230942_1_)voidselectItem(int p_231400_1_)voidsetSelectedItem(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
-
-
-
-
Method Detail
-
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:
getMaxPositionin classAbstractList<E extends ExtendedList.AbstractListEntry<E>>
-
getScrollbarPosition
public int getScrollbarPosition()
- Overrides:
getScrollbarPositionin classAbstractList<E extends ExtendedList.AbstractListEntry<E>>
-
getRowWidth
public int getRowWidth()
- Overrides:
getRowWidthin classAbstractList<E extends ExtendedList.AbstractListEntry<E>>
-
replaceEntries
public void replaceEntries(java.util.Collection<E> p_230942_1_)
- Overrides:
replaceEntriesin classAbstractList<E extends ExtendedList.AbstractListEntry<E>>
-
getItemCount
public int getItemCount()
- Overrides:
getItemCountin classAbstractList<E extends ExtendedList.AbstractListEntry<E>>
-
getRowTop
public int getRowTop(int p_230962_1_)
- Overrides:
getRowTopin classAbstractList<E extends ExtendedList.AbstractListEntry<E>>
-
getRowLeft
public int getRowLeft()
- Overrides:
getRowLeftin classAbstractList<E extends ExtendedList.AbstractListEntry<E>>
-
addEntry
public int addEntry(E p_230513_1_)
- Overrides:
addEntryin classAbstractList<E extends ExtendedList.AbstractListEntry<E>>
-
clear
public void clear()
-
-