Class ContainerObjectSelectionList<E extends ContainerObjectSelectionList.Entry<E>>
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.components.AbstractSelectionList<E>
net.minecraft.client.gui.components.ContainerObjectSelectionList<E>
- All Implemented Interfaces:
- ContainerEventHandler,- GuiEventListener,- Renderable,- TabOrderedElement,- NarratableEntry,- NarrationSupplier
- Direct Known Subclasses:
- EditGameRulesScreen.RuleList,- KeyBindsList,- OptionsList,- SocialInteractionsPlayerList
public abstract class ContainerObjectSelectionList<E extends ContainerObjectSelectionList.Entry<E>>
extends AbstractSelectionList<E>
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class net.minecraft.client.gui.components.AbstractSelectionListAbstractSelectionList.TrackedListNested 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 SummaryConstructorsConstructorDescriptionContainerObjectSelectionList(Minecraft p_94010_, int p_94011_, int p_94012_, int p_94013_, int p_94014_, int p_94015_) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanisSelectedItem(int p_94019_) nextFocusPath(FocusNavigationEvent p_265385_) voidsetFocused(GuiEventListener p_265559_) voidupdateNarration(NarrationElementOutput p_168851_) Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionListaddEntry, addEntryToTop, bindEntryToSelf, centerScrollOn, children, clearEntries, clickedHeader, enableScissor, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFirstElement, getFocused, getHeight, getHovered, getItemCount, getLeft, getMaxPosition, getMaxScroll, getRectangle, getRight, getRowBottom, getRowLeft, getRowRight, getRowTop, getRowWidth, getScrollAmount, getScrollbarPosition, getScrollBottom, getSelected, getTop, getWidth, isMouseOver, isValidMouseClick, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, narrateListElementPosition, nextEntry, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, render, renderDecorations, renderHeader, renderItem, renderList, renderSelection, replaceEntries, 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- 
ContainerObjectSelectionListpublic ContainerObjectSelectionList(Minecraft p_94010_, int p_94011_, int p_94012_, int p_94013_, int p_94014_, int p_94015_) 
 
- 
- 
Method Details
- 
setFocused- Specified by:
- setFocusedin interface- ContainerEventHandler
- Overrides:
- setFocusedin class- AbstractSelectionList<E extends ContainerObjectSelectionList.Entry<E>>
 
- 
narrationPriority- Specified by:
- narrationPriorityin interface- NarratableEntry
- Overrides:
- narrationPriorityin class- AbstractSelectionList<E extends ContainerObjectSelectionList.Entry<E>>
 
- 
isSelectedItemprotected boolean isSelectedItem(int p_94019_) - Overrides:
- isSelectedItemin class- AbstractSelectionList<E extends ContainerObjectSelectionList.Entry<E>>
 
- 
updateNarration