Class ServerSelectionList.NetworkServerEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<ServerSelectionList.Entry>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<ServerSelectionList.Entry>
net.minecraft.client.gui.screens.multiplayer.ServerSelectionList.Entry
net.minecraft.client.gui.screens.multiplayer.ServerSelectionList.NetworkServerEntry
- All Implemented Interfaces:
AutoCloseable
,GuiEventListener
,TabOrderedElement
,NarrationSupplier
- Enclosing class:
ServerSelectionList
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Component
private static final int
private static final Component
private long
protected final Minecraft
private final JoinMultiplayerScreen
protected final LanServer
Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
list
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
ModifierConstructorDescriptionprotected
NetworkServerEntry
(JoinMultiplayerScreen p_99836_, LanServer p_99837_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
mouseClicked
(double p_99840_, double p_99841_, int p_99842_) void
render
(GuiGraphics p_282600_, int p_282649_, int p_283641_, int p_282277_, int p_283034_, int p_281533_, int p_282746_, int p_281454_, boolean p_283673_, float p_282694_) Methods inherited from class net.minecraft.client.gui.screens.multiplayer.ServerSelectionList.Entry
close
Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarration
Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, renderBack, setFocused
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.components.events.GuiEventListener
charTyped, getCurrentFocusPath, getRectangle, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
ICON_WIDTH
private static final int ICON_WIDTH- See Also:
-
LAN_SERVER_HEADER
-
HIDDEN_ADDRESS_TEXT
-
screen
-
minecraft
-
serverData
-
lastClickTime
private long lastClickTime
-
-
Constructor Details
-
NetworkServerEntry
-
-
Method Details
-
render
public void render(GuiGraphics p_282600_, int p_282649_, int p_283641_, int p_282277_, int p_283034_, int p_281533_, int p_282746_, int p_281454_, boolean p_283673_, float p_282694_) - Specified by:
render
in classAbstractSelectionList.Entry<ServerSelectionList.Entry>
-
mouseClicked
public boolean mouseClicked(double p_99840_, double p_99841_, int p_99842_) - Specified by:
mouseClicked
in interfaceGuiEventListener
- Overrides:
mouseClicked
in classObjectSelectionList.Entry<ServerSelectionList.Entry>
-
getServerData
-
getNarration
- Specified by:
getNarration
in classObjectSelectionList.Entry<ServerSelectionList.Entry>
-
getServerNarration
-