类 ServerSelectionList
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.components.AbstractSelectionList<E>
net.minecraft.client.gui.components.ObjectSelectionList<ServerSelectionList.Entry>
net.minecraft.client.gui.screens.multiplayer.ServerSelectionList
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
,NarratableEntry
,NarrationSupplier
-
嵌套类概要
嵌套类修饰符和类型类说明static class
static class
static class
class
从接口继承的嵌套类/接口 net.minecraft.client.gui.narration.NarratableEntry
NarratableEntry.NarrationPriority
-
字段概要
字段修饰符和类型字段说明(专用程序包) static final Component
(专用程序包) static final Component
(专用程序包) static final ResourceLocation
private static final ResourceLocation
(专用程序包) static final ResourceLocation
(专用程序包) static final Component
private final ServerSelectionList.Entry
(专用程序包) static final org.slf4j.Logger
private final List<ServerSelectionList.NetworkServerEntry>
(专用程序包) static final Component
(专用程序包) static final Component
private final List<ServerSelectionList.OnlineServerEntry>
(专用程序包) static final Component
(专用程序包) static final Component
private final JoinMultiplayerScreen
(专用程序包) static final ThreadPoolExecutor
从类继承的字段 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
-
构造器概要
构造器构造器说明ServerSelectionList
(JoinMultiplayerScreen pScreen, Minecraft pMinecraft, int pWidth, int pHeight, int pY0, int pY1, int pItemHeight) -
方法概要
修饰符和类型方法说明int
protected int
boolean
keyPressed
(int pKeyCode, int pScanCode, int pModifiers) private void
void
removed()
void
setSelected
(ServerSelectionList.Entry pEntry) void
updateNetworkServers
(List<LanServer> pLanServers) void
updateOnlineServers
(ServerList pServers) 从类继承的方法 net.minecraft.client.gui.components.ObjectSelectionList
nextFocusPath, updateNarration
从类继承的方法 net.minecraft.client.gui.components.AbstractSelectionList
addEntry, addEntryToTop, centerScrollOn, children, clearEntries, 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, render, 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 -
THREAD_POOL
-
ICON_MISSING
-
ICON_OVERLAY_LOCATION
-
GUI_ICONS_LOCATION
-
SCANNING_LABEL
-
CANT_RESOLVE_TEXT
-
CANT_CONNECT_TEXT
-
INCOMPATIBLE_STATUS
-
NO_CONNECTION_STATUS
-
PINGING_STATUS
-
ONLINE_STATUS
-
screen
-
onlineServers
-
lanHeader
-
networkServers
-
-
构造器详细资料
-
ServerSelectionList
public ServerSelectionList(JoinMultiplayerScreen pScreen, Minecraft pMinecraft, int pWidth, int pHeight, int pY0, int pY1, int pItemHeight)
-
-
方法详细资料
-
refreshEntries
private void refreshEntries() -
setSelected
-
keyPressed
public boolean keyPressed(int pKeyCode, int pScanCode, int pModifiers) -
updateOnlineServers
-
updateNetworkServers
-
getScrollbarPosition
protected int getScrollbarPosition() -
getRowWidth
public int getRowWidth() -
removed
public void removed()
-