Class WorldSelectionList
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.components.AbstractSelectionList<E>
net.minecraft.client.gui.components.ObjectSelectionList<WorldSelectionList.Entry>
net.minecraft.client.gui.screens.worldselection.WorldSelectionList
- All Implemented Interfaces:
- ContainerEventHandler,- GuiEventListener,- Renderable,- TabOrderedElement,- NarratableEntry,- NarrationSupplier
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic classfinal classNested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntryNarratableEntry.NarrationPriority
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate List<LevelSummary>(package private) static final DateFormat(package private) static final ResourceLocation(package private) static final ResourceLocationprivate Stringprivate static final ResourceLocation(package private) static final Component(package private) static final Componentprivate static final ResourceLocation(package private) static final ResourceLocation(package private) static final ResourceLocationprivate final WorldSelectionList.LoadingHeader(package private) static final org.slf4j.Logger(package private) static final ResourceLocation(package private) static final ResourceLocationprivate CompletableFuture<List<LevelSummary>>private final SelectWorldScreen(package private) static final Component(package private) static final Component(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) static final Component(package private) static final Component(package private) static final ComponentFields 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 SummaryConstructorsConstructorDescriptionWorldSelectionList(SelectWorldScreen p_239540_, Minecraft p_239541_, int p_239542_, int p_239543_, int p_239544_, int p_239545_, int p_239546_, String p_239547_, WorldSelectionList p_239548_) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidprivate voidfillLevels(String p_233199_, List<LevelSummary> p_233200_) private voidprivate booleanfilterAccepts(String p_233196_, LevelSummary p_233197_) intprotected intprivate voidhandleLevelLoadFailure(Component p_233212_) private voidhandleNewLevels(List<LevelSummary> p_239665_) booleankeyPressed(int p_289017_, int p_288966_, int p_289020_) private CompletableFuture<List<LevelSummary>>private voidprivate List<LevelSummary>(package private) voidvoidrender(GuiGraphics p_283323_, int p_282039_, int p_283339_, float p_281472_) voidsetSelected(WorldSelectionList.Entry p_233190_) voidupdateFilter(String p_239901_) voidupdateNarration(NarrationElementOutput p_233188_) Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionListnextFocusPathMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionListaddEntry, addEntryToTop, centerScrollOn, children, clickedHeader, enableScissor, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFirstElement, getFocused, getHeight, getHovered, getItemCount, getLeft, getMaxPosition, getMaxScroll, getRectangle, getRight, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollAmount, getScrollBottom, getSelected, getTop, getWidth, isMouseOver, isSelectedItem, isValidMouseClick, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, narrateListElementPosition, narrationPriority, nextEntry, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, renderDecorations, renderHeader, renderItem, renderList, renderSelection, replaceEntries, setFocused, setLeftPos, setRenderBackground, setRenderHeader, setScrollAmount, 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, 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
- 
Field Details- 
ERROR_HIGHLIGHTED_SPRITE
- 
ERROR_SPRITE
- 
MARKED_JOIN_HIGHLIGHTED_SPRITE
- 
MARKED_JOIN_SPRITE
- 
WARNING_HIGHLIGHTED_SPRITE
- 
WARNING_SPRITE
- 
JOIN_HIGHLIGHTED_SPRITE
- 
JOIN_SPRITE
- 
LOGGERstatic final org.slf4j.Logger LOGGER
- 
DATE_FORMAT
- 
ICON_MISSING
- 
FORGE_EXPERIMENTAL_WARNING_ICON
- 
FROM_NEWER_TOOLTIP_1
- 
FROM_NEWER_TOOLTIP_2
- 
SNAPSHOT_TOOLTIP_1
- 
SNAPSHOT_TOOLTIP_2
- 
WORLD_LOCKED_TOOLTIP
- 
WORLD_REQUIRES_CONVERSION
- 
WORLD_EXPERIMENTAL
- 
screen
- 
pendingLevels
- 
currentlyDisplayedLevels
- 
filter
- 
loadingHeader
 
- 
- 
Constructor Details- 
WorldSelectionListpublic WorldSelectionList(SelectWorldScreen p_239540_, Minecraft p_239541_, int p_239542_, int p_239543_, int p_239544_, int p_239545_, int p_239546_, String p_239547_, @Nullable WorldSelectionList p_239548_) 
 
- 
- 
Method Details- 
clearEntriesprotected void clearEntries()- Overrides:
- clearEntriesin class- AbstractSelectionList<WorldSelectionList.Entry>
 
- 
pollLevelsIgnoreErrors
- 
reloadWorldListvoid reloadWorldList()
- 
keyPressedpublic boolean keyPressed(int p_289017_, int p_288966_, int p_289020_) 
- 
render- Specified by:
- renderin interface- Renderable
- Overrides:
- renderin class- AbstractSelectionList<WorldSelectionList.Entry>
 
- 
handleNewLevels
- 
updateFilter
- 
loadLevels
- 
fillLevels
- 
filterAccepts
- 
fillLoadingLevelsprivate void fillLoadingLevels()
- 
notifyListUpdatedprivate void notifyListUpdated()
- 
handleLevelLoadFailure
- 
getScrollbarPositionprotected int getScrollbarPosition()- Overrides:
- getScrollbarPositionin class- AbstractSelectionList<WorldSelectionList.Entry>
 
- 
getRowWidthpublic int getRowWidth()- Overrides:
- getRowWidthin class- AbstractSelectionList<WorldSelectionList.Entry>
 
- 
setSelected- Overrides:
- setSelectedin class- AbstractSelectionList<WorldSelectionList.Entry>
 
- 
getSelectedOpt
- 
getScreen
- 
updateNarration- Specified by:
- updateNarrationin interface- NarrationSupplier
- Overrides:
- updateNarrationin class- ObjectSelectionList<WorldSelectionList.Entry>
 
 
-