类 WorldSelectionList
java.lang.Object
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.client.gui.components.AbstractScrollArea
net.minecraft.client.gui.components.AbstractContainerWidget
net.minecraft.client.gui.components.AbstractSelectionList<WorldSelectionList.Entry>
net.minecraft.client.gui.components.ObjectSelectionList<WorldSelectionList.Entry>
net.minecraft.client.gui.screens.worldselection.WorldSelectionList
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
,LayoutElement
,NarratableEntry
,NarrationSupplier
-
嵌套类概要
嵌套类修饰符和类型类说明static class
static class
final class
从接口继承的嵌套类/接口 net.minecraft.client.gui.narration.NarratableEntry
NarratableEntry.NarrationPriority
-
字段概要
字段修饰符和类型字段说明private List
<LevelSummary> static final DateTimeFormatter
(专用程序包) static final ResourceLocation
(专用程序包) static final ResourceLocation
private String
private static final ResourceLocation
(专用程序包) static final Component
(专用程序包) static final Component
(专用程序包) static final Component
(专用程序包) static final ResourceLocation
(专用程序包) static final ResourceLocation
private final WorldSelectionList.LoadingHeader
(专用程序包) static final org.slf4j.Logger
(专用程序包) static final ResourceLocation
(专用程序包) static final ResourceLocation
private CompletableFuture
<List<LevelSummary>> private final SelectWorldScreen
(专用程序包) static final Component
(专用程序包) static final Component
(专用程序包) static final ResourceLocation
(专用程序包) static final ResourceLocation
(专用程序包) static final Component
(专用程序包) static final Component
(专用程序包) static final Component
从类继承的字段 net.minecraft.client.gui.components.AbstractSelectionList
centerListVertically, headerHeight, itemHeight, minecraft
从类继承的字段 net.minecraft.client.gui.components.AbstractScrollArea
SCROLLBAR_WIDTH
从类继承的字段 net.minecraft.client.gui.components.AbstractWidget
active, alpha, height, isHovered, packedFGColor, UNSET_FG_COLOR, visible, width
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器构造器说明WorldSelectionList
(SelectWorldScreen p_239540_, Minecraft p_239541_, int p_239542_, int p_239543_, int p_239544_, int p_239545_, String p_239547_, WorldSelectionList p_239548_) -
方法概要
修饰符和类型方法说明protected void
private void
fillLevels
(String p_233199_, List<LevelSummary> p_233200_) private void
private boolean
filterAccepts
(String p_233196_, LevelSummary p_233197_) int
private void
handleLevelLoadFailure
(Component p_233212_) private void
handleNewLevels
(List<LevelSummary> p_239665_) boolean
keyPressed
(int p_289017_, int p_288966_, int p_289020_) private CompletableFuture
<List<LevelSummary>> private void
private List
<LevelSummary> (专用程序包) void
void
renderWidget
(GuiGraphics p_310403_, int p_312182_, int p_312151_, float p_311062_) void
setSelected
(WorldSelectionList.Entry p_233190_) void
updateFilter
(String p_239901_) void
updateWidgetNarration
(NarrationElementOutput p_313204_) 从类继承的方法 net.minecraft.client.gui.components.ObjectSelectionList
nextFocusPath
从类继承的方法 net.minecraft.client.gui.components.AbstractSelectionList
addEntry, addEntryToTop, centerScrollOn, children, contentHeight, enableScissor, ensureVisible, getChildAt, getEntry, getEntryAtPosition, getFirstElement, getFocused, getHovered, getItemCount, getRowBottom, getRowLeft, getRowRight, getRowTop, getSelected, isSelectedItem, narrateListElementPosition, narrationPriority, nextEntry, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, renderDecorations, renderHeader, renderItem, renderListBackground, renderListItems, renderListSeparators, renderSelection, replaceEntries, scrollBarX, scrollRate, setFocused, setSelectedIndex, updateSize, updateSizeAndPosition
从类继承的方法 net.minecraft.client.gui.components.AbstractContainerWidget
isDragging, isFocused, mouseClicked, mouseDragged, mouseReleased, setDragging, setFocused
从类继承的方法 net.minecraft.client.gui.components.AbstractScrollArea
maxScrollAmount, mouseScrolled, onRelease, refreshScrollAmount, renderScrollbar, scrollAmount, scrollbarVisible, scrollBarY, scrollerHeight, setScrollAmount, updateScrolling
从类继承的方法 net.minecraft.client.gui.components.AbstractWidget
clearFGColor, createNarrationMessage, defaultButtonNarrationText, getBottom, getFGColor, getHeight, getMessage, getRectangle, getRight, getTabOrderGroup, getTooltip, getWidth, getX, getY, isActive, isHovered, isHoveredOrFocused, isMouseOver, isValidClickButton, onClick, onDrag, playButtonClickSound, playDownSound, render, renderScrollingString, renderScrollingString, renderScrollingString, setAlpha, setFGColor, setHeight, setMessage, setRectangle, setSize, setTabOrderGroup, setTooltip, setTooltipDelay, setWidth, setX, setY, updateNarration, visitWidgets, wrapDefaultNarrationMessage
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getCurrentFocusPath, keyReleased, mouseScrolled
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, getRectangle, isMouseOver, mouseMoved
从接口继承的方法 net.minecraft.client.gui.layouts.LayoutElement
setPosition
从接口继承的方法 net.minecraft.client.gui.narration.NarratableEntry
getNarratables
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
DATE_FORMAT
-
ERROR_HIGHLIGHTED_SPRITE
-
ERROR_SPRITE
-
MARKED_JOIN_HIGHLIGHTED_SPRITE
-
MARKED_JOIN_SPRITE
-
WARNING_HIGHLIGHTED_SPRITE
-
WARNING_SPRITE
-
JOIN_HIGHLIGHTED_SPRITE
-
JOIN_SPRITE
-
LOGGER
static final org.slf4j.Logger LOGGER -
FORGE_EXPERIMENTAL_WARNING_ICON
-
FROM_NEWER_TOOLTIP_1
-
FROM_NEWER_TOOLTIP_2
-
SNAPSHOT_TOOLTIP_1
-
SNAPSHOT_TOOLTIP_2
-
WORLD_LOCKED_TOOLTIP
-
WORLD_REQUIRES_CONVERSION
-
INCOMPATIBLE_VERSION_TOOLTIP
-
WORLD_EXPERIMENTAL
-
screen
-
pendingLevels
-
currentlyDisplayedLevels
-
filter
-
loadingHeader
-
-
构造器详细资料
-
WorldSelectionList
public WorldSelectionList(SelectWorldScreen p_239540_, Minecraft p_239541_, int p_239542_, int p_239543_, int p_239544_, int p_239545_, String p_239547_, @Nullable WorldSelectionList p_239548_)
-
-
方法详细资料
-
clearEntries
protected void clearEntries() -
pollLevelsIgnoreErrors
-
reloadWorldList
void reloadWorldList() -
keyPressed
public boolean keyPressed(int p_289017_, int p_288966_, int p_289020_) -
renderWidget
-
handleNewLevels
-
updateFilter
-
loadLevels
-
fillLevels
-
filterAccepts
-
fillLoadingLevels
private void fillLoadingLevels() -
notifyListUpdated
private void notifyListUpdated() -
handleLevelLoadFailure
-
getRowWidth
public int getRowWidth() -
setSelected
-
getSelectedOpt
-
getScreen
-
updateWidgetNarration
-