Class MultiplayerServerListWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.ContainerWidget
net.minecraft.client.gui.widget.EntryListWidget<MultiplayerServerListWidget.Entry>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget<MultiplayerServerListWidget.Entry>
net.minecraft.client.gui.screen.multiplayer.MultiplayerServerListWidget
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,Navigable
,ParentElement
,Selectable
,Widget
@Environment(CLIENT)
public class MultiplayerServerListWidget
extends AlwaysSelectedEntryListWidget<MultiplayerServerListWidget.Entry>
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget
intermediary net/minecraft/class_4267
official fqd
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
class
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Modifier and TypeFieldDescription(package private) static final Text
(package private) static final Text
(package private) static final Text
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Text
private final List
<MultiplayerServerListWidget.LanServerEntry> (package private) static final Logger
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Text
(package private) static final Text
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Identifier
(package private) static final Text
private final MultiplayerServerListWidget.Entry
private final MultiplayerScreen
(package private) static final ThreadPoolExecutor
private final List
<MultiplayerServerListWidget.ServerEntry> (package private) static final Identifier
Fields inherited from class net.minecraft.client.gui.widget.EntryListWidget
centerListVertically, client, field_45909, headerHeight, itemHeight
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionMultiplayerServerListWidget
(MultiplayerScreen screen, MinecraftClient client, int width, int height, int top, int bottom) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
keyPressed
(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.void
void
setLanServers
(List<LanServerInfo> lanServers) void
void
setServers
(ServerList servers) private void
Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget
appendClickableNarrations, getNavigationPath
Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, clickedHeader, drawHeaderAndFooterSeparators, drawMenuListBackground, drawSelectionHighlight, enableScissor, ensureVisible, getDefaultScrollbarX, getEntry, getEntryAtPosition, getEntryCount, getFirst, getFocused, getHoveredEntry, getMaxPosition, getMaxScroll, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollAmount, getScrollbarX, getSelectedOrNull, getType, isMouseOver, isScrollbarVisible, isSelectButton, isSelectedEntry, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, position, position, refreshScroll, remove, removeEntry, removeEntryWithoutScrolling, renderDecorations, renderEntry, renderHeader, renderList, renderWidget, replaceEntries, setFocused, setRenderHeader, setScrollAmount, setScrollAmountOnly, updateScrollingState
Methods inherited from class net.minecraft.client.gui.widget.ContainerWidget
isDragging, isFocused, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getTooltip, getWidth, getX, getY, isHovered, isNarratable, isSelected, isValidClickButton, onClick, onDrag, onRelease, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setY
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
getNavigationFocus, mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, hoveredElement, keyReleased
Methods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
INCOMPATIBLE_TEXTURE
- Mappings:
Namespace Name Mixin selector named INCOMPATIBLE_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;INCOMPATIBLE_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45516
Lnet/minecraft/class_4267;field_45516:Lnet/minecraft/class_2960;
official a
Lfqd;a:Lakk;
-
UNREACHABLE_TEXTURE
- Mappings:
Namespace Name Mixin selector named UNREACHABLE_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;UNREACHABLE_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45517
Lnet/minecraft/class_4267;field_45517:Lnet/minecraft/class_2960;
official m
Lfqd;m:Lakk;
-
PING_1_TEXTURE
- Mappings:
Namespace Name Mixin selector named PING_1_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PING_1_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45518
Lnet/minecraft/class_4267;field_45518:Lnet/minecraft/class_2960;
official n
Lfqd;n:Lakk;
-
PING_2_TEXTURE
- Mappings:
Namespace Name Mixin selector named PING_2_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PING_2_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45519
Lnet/minecraft/class_4267;field_45519:Lnet/minecraft/class_2960;
official o
Lfqd;o:Lakk;
-
PING_3_TEXTURE
- Mappings:
Namespace Name Mixin selector named PING_3_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PING_3_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45520
Lnet/minecraft/class_4267;field_45520:Lnet/minecraft/class_2960;
official p
Lfqd;p:Lakk;
-
PING_4_TEXTURE
- Mappings:
Namespace Name Mixin selector named PING_4_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PING_4_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45521
Lnet/minecraft/class_4267;field_45521:Lnet/minecraft/class_2960;
official q
Lfqd;q:Lakk;
-
PING_5_TEXTURE
- Mappings:
Namespace Name Mixin selector named PING_5_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PING_5_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45522
Lnet/minecraft/class_4267;field_45522:Lnet/minecraft/class_2960;
official r
Lfqd;r:Lakk;
-
PINGING_1_TEXTURE
- Mappings:
Namespace Name Mixin selector named PINGING_1_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PINGING_1_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45523
Lnet/minecraft/class_4267;field_45523:Lnet/minecraft/class_2960;
official s
Lfqd;s:Lakk;
-
PINGING_2_TEXTURE
- Mappings:
Namespace Name Mixin selector named PINGING_2_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PINGING_2_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45524
Lnet/minecraft/class_4267;field_45524:Lnet/minecraft/class_2960;
official u
Lfqd;u:Lakk;
-
PINGING_3_TEXTURE
- Mappings:
Namespace Name Mixin selector named PINGING_3_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PINGING_3_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45525
Lnet/minecraft/class_4267;field_45525:Lnet/minecraft/class_2960;
official v
Lfqd;v:Lakk;
-
PINGING_4_TEXTURE
- Mappings:
Namespace Name Mixin selector named PINGING_4_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PINGING_4_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45526
Lnet/minecraft/class_4267;field_45526:Lnet/minecraft/class_2960;
official w
Lfqd;w:Lakk;
-
PINGING_5_TEXTURE
- Mappings:
Namespace Name Mixin selector named PINGING_5_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PINGING_5_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45527
Lnet/minecraft/class_4267;field_45527:Lnet/minecraft/class_2960;
official x
Lfqd;x:Lakk;
-
JOIN_HIGHLIGHTED_TEXTURE
- Mappings:
Namespace Name Mixin selector named JOIN_HIGHLIGHTED_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;JOIN_HIGHLIGHTED_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45528
Lnet/minecraft/class_4267;field_45528:Lnet/minecraft/class_2960;
official y
Lfqd;y:Lakk;
-
JOIN_TEXTURE
- Mappings:
Namespace Name Mixin selector named JOIN_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;JOIN_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45529
Lnet/minecraft/class_4267;field_45529:Lnet/minecraft/class_2960;
official z
Lfqd;z:Lakk;
-
MOVE_UP_HIGHLIGHTED_TEXTURE
- Mappings:
Namespace Name Mixin selector named MOVE_UP_HIGHLIGHTED_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;MOVE_UP_HIGHLIGHTED_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45530
Lnet/minecraft/class_4267;field_45530:Lnet/minecraft/class_2960;
official A
Lfqd;A:Lakk;
-
MOVE_UP_TEXTURE
- Mappings:
Namespace Name Mixin selector named MOVE_UP_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;MOVE_UP_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45513
Lnet/minecraft/class_4267;field_45513:Lnet/minecraft/class_2960;
official B
Lfqd;B:Lakk;
-
MOVE_DOWN_HIGHLIGHTED_TEXTURE
- Mappings:
Namespace Name Mixin selector named MOVE_DOWN_HIGHLIGHTED_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;MOVE_DOWN_HIGHLIGHTED_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45514
Lnet/minecraft/class_4267;field_45514:Lnet/minecraft/class_2960;
official C
Lfqd;C:Lakk;
-
MOVE_DOWN_TEXTURE
- Mappings:
Namespace Name Mixin selector named MOVE_DOWN_TEXTURE
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;MOVE_DOWN_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45515
Lnet/minecraft/class_4267;field_45515:Lnet/minecraft/class_2960;
official D
Lfqd;D:Lakk;
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;LOGGER:Lorg/slf4j/Logger;
intermediary field_19104
Lnet/minecraft/class_4267;field_19104:Lorg/slf4j/Logger;
official E
Lfqd;E:Lorg/slf4j/Logger;
-
SERVER_PINGER_THREAD_POOL
- Mappings:
Namespace Name Mixin selector named SERVER_PINGER_THREAD_POOL
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;SERVER_PINGER_THREAD_POOL:Ljava/util/concurrent/ThreadPoolExecutor;
intermediary field_19105
Lnet/minecraft/class_4267;field_19105:Ljava/util/concurrent/ThreadPoolExecutor;
official F
Lfqd;F:Ljava/util/concurrent/ThreadPoolExecutor;
-
LAN_SCANNING_TEXT
- Mappings:
Namespace Name Mixin selector named LAN_SCANNING_TEXT
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;LAN_SCANNING_TEXT:Lnet/minecraft/text/Text;
intermediary field_26581
Lnet/minecraft/class_4267;field_26581:Lnet/minecraft/class_2561;
official G
Lfqd;G:Lwu;
-
CANNOT_RESOLVE_TEXT
- Mappings:
Namespace Name Mixin selector named CANNOT_RESOLVE_TEXT
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;CANNOT_RESOLVE_TEXT:Lnet/minecraft/text/Text;
intermediary field_26582
Lnet/minecraft/class_4267;field_26582:Lnet/minecraft/class_2561;
official H
Lfqd;H:Lwu;
-
CANNOT_CONNECT_TEXT
- Mappings:
Namespace Name Mixin selector named CANNOT_CONNECT_TEXT
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;CANNOT_CONNECT_TEXT:Lnet/minecraft/text/Text;
intermediary field_26583
Lnet/minecraft/class_4267;field_26583:Lnet/minecraft/class_2561;
official I
Lfqd;I:Lwu;
-
INCOMPATIBLE_TEXT
- Mappings:
Namespace Name Mixin selector named INCOMPATIBLE_TEXT
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;INCOMPATIBLE_TEXT:Lnet/minecraft/text/Text;
intermediary field_41853
Lnet/minecraft/class_4267;field_41853:Lnet/minecraft/class_2561;
official J
Lfqd;J:Lwu;
-
NO_CONNECTION_TEXT
- Mappings:
Namespace Name Mixin selector named NO_CONNECTION_TEXT
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;NO_CONNECTION_TEXT:Lnet/minecraft/text/Text;
intermediary field_41854
Lnet/minecraft/class_4267;field_41854:Lnet/minecraft/class_2561;
official K
Lfqd;K:Lwu;
-
PINGING_TEXT
- Mappings:
Namespace Name Mixin selector named PINGING_TEXT
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;PINGING_TEXT:Lnet/minecraft/text/Text;
intermediary field_41855
Lnet/minecraft/class_4267;field_41855:Lnet/minecraft/class_2561;
official L
Lfqd;L:Lwu;
-
ONLINE_TEXT
- Mappings:
Namespace Name Mixin selector named ONLINE_TEXT
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;ONLINE_TEXT:Lnet/minecraft/text/Text;
intermediary field_41856
Lnet/minecraft/class_4267;field_41856:Lnet/minecraft/class_2561;
official M
Lfqd;M:Lwu;
-
screen
- Mappings:
Namespace Name Mixin selector named screen
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;screen:Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;
intermediary field_19108
Lnet/minecraft/class_4267;field_19108:Lnet/minecraft/class_500;
official N
Lfqd;N:Lfqa;
-
servers
- Mappings:
Namespace Name Mixin selector named servers
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;servers:Ljava/util/List;
intermediary field_19109
Lnet/minecraft/class_4267;field_19109:Ljava/util/List;
official O
Lfqd;O:Ljava/util/List;
-
scanningEntry
- Mappings:
Namespace Name Mixin selector named scanningEntry
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;scanningEntry:Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$Entry;
intermediary field_19110
Lnet/minecraft/class_4267;field_19110:Lnet/minecraft/class_4267$class_504;
official P
Lfqd;P:Lfqd$a;
-
lanServers
- Mappings:
Namespace Name Mixin selector named lanServers
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;lanServers:Ljava/util/List;
intermediary field_19111
Lnet/minecraft/class_4267;field_19111:Ljava/util/List;
official Q
Lfqd;Q:Ljava/util/List;
-
-
Constructor Details
-
MultiplayerServerListWidget
public MultiplayerServerListWidget(MultiplayerScreen screen, MinecraftClient client, int width, int height, int top, int bottom) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;<init>(Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;Lnet/minecraft/client/MinecraftClient;IIII)V
intermediary <init>
Lnet/minecraft/class_4267;<init>(Lnet/minecraft/class_500;Lnet/minecraft/class_310;IIII)V
official <init>
Lfqd;<init>(Lfqa;Lffw;IIII)V
-
-
Method Details
-
updateEntries
private void updateEntries()- Mappings:
Namespace Name Mixin selector named updateEntries
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;updateEntries()V
intermediary method_20131
Lnet/minecraft/class_4267;method_20131()V
official J
Lfqd;J()V
-
setSelected
- Overrides:
setSelected
in classEntryListWidget<MultiplayerServerListWidget.Entry>
- Mappings:
Namespace Name Mixin selector named setSelected
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;setSelected(Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$Entry;)V
intermediary method_20122
Lnet/minecraft/class_4267;method_20122(Lnet/minecraft/class_4267$class_504;)V
official a
Lfqd;a(Lfqd$a;)V
-
keyPressed
public boolean keyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured. The key code is identified by the constants inGLFW
class.- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- the unique/platform-specific scan code of the keyboard inputmodifiers
- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named keyPressed
Lnet/minecraft/client/gui/Element;keyPressed(III)Z
intermediary method_25404
Lnet/minecraft/class_364;method_25404(III)Z
official a
Lfjq;a(III)Z
-
setServers
- Mappings:
Namespace Name Mixin selector named setServers
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;setServers(Lnet/minecraft/client/option/ServerList;)V
intermediary method_20125
Lnet/minecraft/class_4267;method_20125(Lnet/minecraft/class_641;)V
official a
Lfqd;a(Lfza;)V
-
setLanServers
- Mappings:
Namespace Name Mixin selector named setLanServers
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;setLanServers(Ljava/util/List;)V
intermediary method_20126
Lnet/minecraft/class_4267;method_20126(Ljava/util/List;)V
official a
Lfqd;a(Ljava/util/List;)V
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidth
in classEntryListWidget<MultiplayerServerListWidget.Entry>
- Mappings:
Namespace Name Mixin selector named getRowWidth
Lnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I
intermediary method_25322
Lnet/minecraft/class_350;method_25322()I
official b
Lfhp;b()I
-
onRemoved
public void onRemoved()- Mappings:
Namespace Name Mixin selector named onRemoved
Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;onRemoved()V
intermediary method_52204
Lnet/minecraft/class_4267;method_52204()V
official c
Lfqd;c()V
-