类 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
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
,NarratableEntry
,NarrationSupplier
-
嵌套类概要
嵌套类修饰符和类型类说明static class
static class
final class
从接口继承的嵌套类/接口 net.minecraft.client.gui.narration.NarratableEntry
NarratableEntry.NarrationPriority
-
字段概要
字段修饰符和类型字段说明private List<LevelSummary>
(专用程序包) static final DateFormat
private String
private static final ResourceLocation
(专用程序包) static final Component
(专用程序包) static final Component
private static final ResourceLocation
(专用程序包) static final ResourceLocation
private final WorldSelectionList.LoadingHeader
(专用程序包) static final org.slf4j.Logger
private CompletableFuture<List<LevelSummary>>
private final SelectWorldScreen
(专用程序包) static final Component
(专用程序包) static final Component
(专用程序包) static final Component
(专用程序包) static final Component
从类继承的字段 net.minecraft.client.gui.components.AbstractSelectionList
centerListVertically, headerHeight, height, itemHeight, minecraft, width, x0, x1, y0, y1
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器构造器说明WorldSelectionList
(SelectWorldScreen pScreen, Minecraft pMinecraft, int pWidth, int pHeight, int pY0, int pY1, int pItemHeight, String pFilter, WorldSelectionList pWorldSelectionList) -
方法概要
修饰符和类型方法说明protected void
private void
fillLevels
(String p_233199_, List<LevelSummary> p_233200_) private void
private boolean
filterAccepts
(String p_233196_, LevelSummary p_233197_) int
protected int
private void
handleLevelLoadFailure
(Component p_233212_) private void
handleNewLevels
(List<LevelSummary> p_239665_) boolean
keyPressed
(int pKeyCode, int pScanCode, int pModifiers) private CompletableFuture<List<LevelSummary>>
private void
private List<LevelSummary>
(专用程序包) void
void
render
(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick) void
setSelected
(WorldSelectionList.Entry pSelected) void
updateFilter
(String p_239901_) void
updateNarration
(NarrationElementOutput pNarrationElementOutput) 从类继承的方法 net.minecraft.client.gui.components.ObjectSelectionList
nextFocusPath
从类继承的方法 net.minecraft.client.gui.components.AbstractSelectionList
addEntry, 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, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, narrateListElementPosition, narrationPriority, nextEntry, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, renderBackground, renderDecorations, renderHeader, renderItem, renderList, renderSelection, replaceEntries, setFocused, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, updateScrollingState, updateSize
从类继承的方法 net.minecraft.client.gui.components.events.AbstractContainerEventHandler
isDragging, setDragging
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
从接口继承的方法 net.minecraft.client.gui.narration.NarratableEntry
isActive
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
LOGGER
static final org.slf4j.Logger LOGGER -
DATE_FORMAT
-
ICON_MISSING
-
ICON_OVERLAY_LOCATION
-
FORGE_EXPERIMENTAL_WARNING_ICON
-
FROM_NEWER_TOOLTIP_1
-
FROM_NEWER_TOOLTIP_2
-
SNAPSHOT_TOOLTIP_1
-
SNAPSHOT_TOOLTIP_2
-
WORLD_LOCKED_TOOLTIP
-
WORLD_REQUIRES_CONVERSION
-
screen
-
pendingLevels
-
currentlyDisplayedLevels
-
filter
-
loadingHeader
-
-
构造器详细资料
-
WorldSelectionList
public WorldSelectionList(SelectWorldScreen pScreen, Minecraft pMinecraft, int pWidth, int pHeight, int pY0, int pY1, int pItemHeight, String pFilter, @Nullable WorldSelectionList pWorldSelectionList)
-
-
方法详细资料
-
clearEntries
protected void clearEntries() -
pollLevelsIgnoreErrors
-
reloadWorldList
void reloadWorldList() -
keyPressed
public boolean keyPressed(int pKeyCode, int pScanCode, int pModifiers) -
render
- 指定者:
render
在接口中Renderable
- 覆盖:
render
在类中AbstractSelectionList<WorldSelectionList.Entry>
-
handleNewLevels
-
updateFilter
-
loadLevels
-
fillLevels
-
filterAccepts
-
fillLoadingLevels
private void fillLoadingLevels() -
notifyListUpdated
private void notifyListUpdated() -
handleLevelLoadFailure
-
getScrollbarPosition
protected int getScrollbarPosition() -
getRowWidth
public int getRowWidth() -
setSelected
-
getSelectedOpt
-
getScreen
-
updateNarration
- 指定者:
updateNarration
在接口中NarrationSupplier
- 覆盖:
updateNarration
在类中ObjectSelectionList<WorldSelectionList.Entry>
-