Class ServerSelectionList.NetworkServerEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<E>
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:
GuiEventListener
,NarrationSupplier
- Enclosing class:
- ServerSelectionList
-
Field Summary
Modifier and TypeFieldDescriptionprivate static Component
private static int
private static Component
private long
protected Minecraft
private JoinMultiplayerScreen
protected LanServer
Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
list
-
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(PoseStack p_99844_, int p_99845_, int p_99846_, int p_99847_, int p_99848_, int p_99849_, int p_99850_, int p_99851_, boolean p_99852_, float p_99853_)
Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
changeFocus, updateNarration
Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isMouseOver
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, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
Field Details
-
ICON_WIDTH
private static final int ICON_WIDTH- See Also:
- Constant Field Values
-
LAN_SERVER_HEADER
-
HIDDEN_ADDRESS_TEXT
-
screen
-
minecraft
-
serverData
-
lastClickTime
private long lastClickTime
-
-
Constructor Details
-
NetworkServerEntry
-
-
Method Details
-
render
public void render(PoseStack p_99844_, int p_99845_, int p_99846_, int p_99847_, int p_99848_, int p_99849_, int p_99850_, int p_99851_, boolean p_99852_, float p_99853_)- Specified by:
render
in classAbstractSelectionList.Entry<ServerSelectionList.Entry>
-
mouseClicked
public boolean mouseClicked(double p_99840_, double p_99841_, int p_99842_) -
getServerData
-
getNarration
- Specified by:
getNarration
in classObjectSelectionList.Entry<ServerSelectionList.Entry>
-