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, y1Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRealmsObjectSelectionList(int p_i50516_1_, int p_i50516_2_, int p_i50516_3_, int p_i50516_4_, int p_i50516_5_) -
Method Summary
Modifier and TypeMethodDescriptionintvoidclear()intintintintgetRowTop(int p_230962_1_) intintvoiditemClicked(int p_231401_1_, int p_231401_2_, double p_231401_3_, double p_231401_5_, int p_231401_7_) voidreplaceEntries(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
changeFocusMethods 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, updateSizeMethods inherited from class net.minecraft.client.gui.FocusableGui
isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.IGuiEventListener
mouseMovedMethods 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:
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
- 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
- Overrides:
addEntryin classAbstractList<E extends ExtendedList.AbstractListEntry<E>>
-
clear
public void clear()
-