Package net.minecraft.client.gui.screen
Class ServerSelectionList.LanDetectedEntry
- java.lang.Object
-
- net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry<E>
-
- net.minecraft.client.gui.widget.list.ExtendedList.AbstractListEntry<ServerSelectionList.Entry>
-
- net.minecraft.client.gui.screen.ServerSelectionList.Entry
-
- net.minecraft.client.gui.screen.ServerSelectionList.LanDetectedEntry
-
- All Implemented Interfaces:
IGuiEventListener
- Enclosing class:
- ServerSelectionList
public static class ServerSelectionList.LanDetectedEntry extends ServerSelectionList.Entry
-
-
Field Summary
Fields Modifier and Type Field Description private static ITextComponent
HIDDEN_ADDRESS_TEXT
private static ITextComponent
LAN_SERVER_HEADER
private long
lastClickTime
protected Minecraft
minecraft
private MultiplayerScreen
screen
protected LanServerInfo
serverData
-
Fields inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
list
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
LanDetectedEntry(MultiplayerScreen p_i47141_1_, LanServerInfo p_i47141_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LanServerInfo
getServerData()
boolean
mouseClicked(double p_231044_1_, double p_231044_3_, int p_231044_5_)
void
render(MatrixStack p_230432_1_, int p_230432_2_, int p_230432_3_, int p_230432_4_, int p_230432_5_, int p_230432_6_, int p_230432_7_, int p_230432_8_, boolean p_230432_9_, float p_230432_10_)
-
Methods inherited from class net.minecraft.client.gui.widget.list.ExtendedList.AbstractListEntry
changeFocus
-
Methods inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
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.IGuiEventListener
charTyped, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
-
-
-
Field Detail
-
LAN_SERVER_HEADER
private static final ITextComponent LAN_SERVER_HEADER
-
HIDDEN_ADDRESS_TEXT
private static final ITextComponent HIDDEN_ADDRESS_TEXT
-
screen
private final MultiplayerScreen screen
-
minecraft
protected final Minecraft minecraft
-
serverData
protected final LanServerInfo serverData
-
lastClickTime
private long lastClickTime
-
-
Constructor Detail
-
LanDetectedEntry
protected LanDetectedEntry(MultiplayerScreen p_i47141_1_, LanServerInfo p_i47141_2_)
-
-
Method Detail
-
render
public void render(MatrixStack p_230432_1_, int p_230432_2_, int p_230432_3_, int p_230432_4_, int p_230432_5_, int p_230432_6_, int p_230432_7_, int p_230432_8_, boolean p_230432_9_, float p_230432_10_)
- Specified by:
render
in classAbstractList.AbstractListEntry<ServerSelectionList.Entry>
-
mouseClicked
public boolean mouseClicked(double p_231044_1_, double p_231044_3_, int p_231044_5_)
-
getServerData
public LanServerInfo getServerData()
-
-