Class ServerSelectionList
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<ServerSelectionList.Entry>
net.minecraft.client.gui.screens.multiplayer.ServerSelectionList
- All Implemented Interfaces:
- ContainerEventHandler,- GuiEventListener,- Renderable,- TabOrderedElement,- LayoutElement,- NarratableEntry,- NarrationSupplier,- IAbstractWidgetExtension
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classclassNested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntryNarratableEntry.NarrationPriority
- 
Field SummaryFieldsModifier and TypeFieldDescription(package private) static final Component(package private) static final Componentprivate static final ResourceLocation(package private) static final ResourceLocation(package private) static final Component(package private) static final ResourceLocation(package private) static final ResourceLocationprivate final ServerSelectionList.Entry(package private) static final org.slf4j.Logger(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) static final ResourceLocationprivate final List<ServerSelectionList.NetworkServerEntry>(package private) static final Component(package private) static final Componentprivate final List<ServerSelectionList.OnlineServerEntry>(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) static final Component(package private) static final Componentprivate final JoinMultiplayerScreen(package private) static final ThreadPoolExecutor(package private) static final ResourceLocationFields 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 SummaryConstructorsConstructorDescriptionServerSelectionList(JoinMultiplayerScreen p_99771_, Minecraft p_99772_, int p_99773_, int p_99774_, int p_99775_, int p_99776_) 
- 
Method SummaryModifier and TypeMethodDescriptionintprotected intbooleankeyPressed(int p_99782_, int p_99783_, int p_99784_) private voidvoidremoved()voidsetSelected(ServerSelectionList.Entry p_99790_) voidupdateNetworkServers(List<LanServer> p_99800_) voidupdateOnlineServers(ServerList p_99798_) Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionListnextFocusPath, updateWidgetNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionListaddEntry, addEntryToTop, centerScrollOn, children, clearEntries, clickedHeader, enableScissor, ensureVisible, getEntry, getEntryAtPosition, getFirstElement, getFocused, getHovered, getItemCount, getMaxPosition, getMaxScroll, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollAmount, getSelected, isMouseOver, isSelectedItem, isValidMouseClick, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, narrateListElementPosition, narrationPriority, nextEntry, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, renderDecorations, renderHeader, renderItem, renderList, renderSelection, renderWidget, replaceEntries, setFocused, setRenderBackground, setRenderHeader, setScrollAmount, 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, 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
- 
Field Details- 
INCOMPATIBLE_SPRITE
- 
UNREACHABLE_SPRITE
- 
PING_1_SPRITE
- 
PING_2_SPRITE
- 
PING_3_SPRITE
- 
PING_4_SPRITE
- 
PING_5_SPRITE
- 
PINGING_1_SPRITE
- 
PINGING_2_SPRITE
- 
PINGING_3_SPRITE
- 
PINGING_4_SPRITE
- 
PINGING_5_SPRITE
- 
JOIN_HIGHLIGHTED_SPRITE
- 
JOIN_SPRITE
- 
MOVE_UP_HIGHLIGHTED_SPRITE
- 
MOVE_UP_SPRITE
- 
MOVE_DOWN_HIGHLIGHTED_SPRITE
- 
MOVE_DOWN_SPRITE
- 
LOGGERstatic final org.slf4j.Logger LOGGER
- 
THREAD_POOL
- 
ICON_MISSING
- 
SCANNING_LABEL
- 
CANT_RESOLVE_TEXT
- 
CANT_CONNECT_TEXT
- 
INCOMPATIBLE_STATUS
- 
NO_CONNECTION_STATUS
- 
PINGING_STATUS
- 
ONLINE_STATUS
- 
screen
- 
onlineServers
- 
lanHeader
- 
networkServers
 
- 
- 
Constructor Details- 
ServerSelectionListpublic ServerSelectionList(JoinMultiplayerScreen p_99771_, Minecraft p_99772_, int p_99773_, int p_99774_, int p_99775_, int p_99776_) 
 
- 
- 
Method Details- 
refreshEntriesprivate void refreshEntries()
- 
setSelected- Overrides:
- setSelectedin class- AbstractSelectionList<ServerSelectionList.Entry>
 
- 
keyPressedpublic boolean keyPressed(int p_99782_, int p_99783_, int p_99784_) 
- 
updateOnlineServers
- 
updateNetworkServers
- 
getScrollbarPositionprotected int getScrollbarPosition()- Overrides:
- getScrollbarPositionin class- AbstractSelectionList<ServerSelectionList.Entry>
 
- 
getRowWidthpublic int getRowWidth()- Overrides:
- getRowWidthin class- AbstractSelectionList<ServerSelectionList.Entry>
 
- 
removedpublic void removed()
 
-