Package net.minecraft.realms
Class RealmsObjectSelectionList<E extends ObjectSelectionList.Entry<E>>
java.lang.Object
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.client.gui.components.AbstractContainerWidget
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,- LayoutElement,- NarratableEntry,- NarrationSupplier,- IAbstractWidgetExtension
- Direct Known Subclasses:
- RealmsBackupScreen.BackupObjectSelectionList,- RealmsMainScreen.RealmSelectionList,- RealmsPendingInvitesScreen.PendingInvitationSelectionList,- RealmsPlayerScreen.InvitedObjectSelectionList,- RealmsSelectFileToUploadScreen.WorldSelectionList,- RealmsSelectWorldTemplateScreen.WorldTemplateList
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, itemHeight, minecraft, SCROLLBAR_WIDTHFields inherited from class net.minecraft.client.gui.components.AbstractWidgetactive, alpha, height, isHovered, packedFGColor, UNSET_FG_COLOR, visible, widthFields 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_) 
- 
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, updateWidgetNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionListaddEntryToTop, centerScrollOn, children, clearEntries, clickedHeader, enableScissor, ensureVisible, getEntry, getEntryAtPosition, getFirstElement, getFocused, getHovered, getMaxScroll, getRowBottom, getRowRight, getScrollAmount, getSelected, isMouseOver, isSelectedItem, isValidMouseClick, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, narrateListElementPosition, narrationPriority, nextEntry, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, renderDecorations, renderHeader, renderItem, renderList, renderSelection, renderWidget, setFocused, setRenderBackground, setRenderHeader, setScrollAmount, setSelected, updateScrollingStateMethods inherited from class net.minecraft.client.gui.components.AbstractContainerWidgetisDragging, isFocused, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.components.AbstractWidgetclearFGColor, clicked, createNarrationMessage, defaultButtonNarrationText, getBottom, getFGColor, getHeight, getMessage, getRectangle, getRight, getTabOrderGroup, getTooltip, getWidth, getX, getY, isActive, isHovered, isHoveredOrFocused, isValidClickButton, onClick, onDrag, onRelease, playDownSound, render, renderScrollingString, renderScrollingString, renderScrollingString, setAlpha, setFGColor, setHeight, setMessage, setRectangle, setSize, setTabOrderGroup, setTooltip, setTooltipDelay, setWidth, setX, setY, updateNarration, visitWidgets, wrapDefaultNarrationMessageMethods 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, keyPressed, keyReleased, magicalSpecialHackyFocusMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenergetRectangle, mouseMovedMethods inherited from interface net.neoforged.neoforge.client.extensions.IAbstractWidgetExtensiononClickMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElementsetPositionMethods 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_) 
 
- 
- 
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()
 
-