Package net.minecraft.realms
Class RealmsObjectSelectionList<E extends ObjectSelectionList.Entry<E>>
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.components.AbstractSelectionList<E>
net.minecraft.client.gui.components.ObjectSelectionList<E>
net.minecraft.realms.RealmsObjectSelectionList<E>
- All Implemented Interfaces:
- ContainerEventHandler,- GuiEventListener,- Renderable,- TabOrderedElement,- NarratableEntry,- NarrationSupplier
- Direct Known Subclasses:
- RealmsBackupScreen.BackupObjectSelectionList,- RealmsMainScreen.RealmSelectionList,- RealmsPendingInvitesScreen.PendingInvitationSelectionList,- RealmsPlayerScreen.InvitedObjectSelectionList,- RealmsSelectFileToUploadScreen.WorldSelectionList,- RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionList
public abstract class RealmsObjectSelectionList<E extends ObjectSelectionList.Entry<E>>
extends ObjectSelectionList<E>
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.gui.components.ObjectSelectionListObjectSelectionList.Entry<E extends ObjectSelectionList.Entry<E>>Nested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntryNarratableEntry.NarrationPriority
- 
Field SummaryFields inherited from class net.minecraft.client.gui.components.AbstractSelectionListcenterListVertically, headerHeight, height, itemHeight, minecraft, SCROLLBAR_WIDTH, width, x0, x1, y0, y1Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListenerDOUBLE_CLICK_THRESHOLD_MS
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedRealmsObjectSelectionList(int p_120745_, int p_120746_, int p_120747_, int p_120748_, int p_120749_) 
- 
Method SummaryModifier and TypeMethodDescriptionintvoidclear()intintintintgetRowTop(int p_120766_) intintvoidreplaceEntries(Collection<E> p_120759_) voidselectItem(int p_120750_) voidsetSelectedItem(int p_120768_) Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionListnextFocusPath, updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionListaddEntryToTop, centerScrollOn, children, clearEntries, clickedHeader, enableScissor, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFirstElement, getFocused, getHeight, getHovered, getLeft, getMaxScroll, getRectangle, getRight, getRowBottom, getRowRight, getScrollAmount, getScrollBottom, getSelected, getTop, getWidth, isMouseOver, isSelectedItem, isValidMouseClick, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, narrateListElementPosition, narrationPriority, nextEntry, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, render, renderDecorations, renderHeader, renderItem, renderList, renderSelection, setFocused, setLeftPos, setRenderBackground, setRenderHeader, setScrollAmount, setSelected, updateScrollingState, updateSizeMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandlerisDragging, setDraggingMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandlercharTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, magicalSpecialHackyFocus, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenermouseMovedMethods inherited from interface net.minecraft.client.gui.narration.NarratableEntryisActiveMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElementgetTabOrderGroup
- 
Constructor Details- 
RealmsObjectSelectionListprotected RealmsObjectSelectionList(int p_120745_, int p_120746_, int p_120747_, int p_120748_, int p_120749_) 
 
- 
- 
Method Details- 
setSelectedItempublic void setSelectedItem(int p_120768_) 
- 
selectItempublic void selectItem(int p_120750_) 
- 
getMaxPositionpublic int getMaxPosition()- Overrides:
- getMaxPositionin class- AbstractSelectionList<E extends ObjectSelectionList.Entry<E>>
 
- 
getScrollbarPositionpublic int getScrollbarPosition()- Overrides:
- getScrollbarPositionin class- AbstractSelectionList<E extends ObjectSelectionList.Entry<E>>
 
- 
getRowWidthpublic int getRowWidth()- Overrides:
- getRowWidthin class- AbstractSelectionList<E extends ObjectSelectionList.Entry<E>>
 
- 
replaceEntries- Overrides:
- replaceEntriesin class- AbstractSelectionList<E extends ObjectSelectionList.Entry<E>>
 
- 
getItemCountpublic int getItemCount()- Overrides:
- getItemCountin class- AbstractSelectionList<E extends ObjectSelectionList.Entry<E>>
 
- 
getRowToppublic int getRowTop(int p_120766_) - Overrides:
- getRowTopin class- AbstractSelectionList<E extends ObjectSelectionList.Entry<E>>
 
- 
getRowLeftpublic int getRowLeft()- Overrides:
- getRowLeftin class- AbstractSelectionList<E extends ObjectSelectionList.Entry<E>>
 
- 
addEntry- Overrides:
- addEntryin class- AbstractSelectionList<E extends ObjectSelectionList.Entry<E>>
 
- 
clearpublic void clear()
 
-