Class CustomServerSelectionList.NetworkServerEntry
java.lang.Object
net.minecraft.client.gui.components.ObjectSelectionList.Entry<CustomServerSelectionList.Entry>
com.pixelmonmod.pixelmon.client.gui.override.servers.screen.CustomServerSelectionList.Entry
com.pixelmonmod.pixelmon.client.gui.override.servers.screen.CustomServerSelectionList.NetworkServerEntry
- All Implemented Interfaces:
AutoCloseable
,net.minecraft.client.gui.components.events.GuiEventListener
,net.minecraft.client.gui.components.TabOrderedElement
,net.minecraft.client.gui.narration.NarrationSupplier
- Enclosing class:
- CustomServerSelectionList
public static class CustomServerSelectionList.NetworkServerEntry
extends CustomServerSelectionList.Entry
-
Field Summary
Modifier and TypeFieldDescriptionprotected final net.minecraft.client.Minecraft
protected final net.minecraft.client.server.LanServer
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
ModifierConstructorDescriptionprotected
NetworkServerEntry
(CustomMultiplayerScreen p_99836_, net.minecraft.client.server.LanServer p_99837_) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.network.chat.Component
net.minecraft.client.server.LanServer
net.minecraft.network.chat.Component
boolean
mouseClicked
(double p_99840_, double p_99841_, int p_99842_) void
render
(net.minecraft.client.gui.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 com.pixelmonmod.pixelmon.client.gui.override.servers.screen.CustomServerSelectionList.Entry
close
Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarration
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
-
minecraft
protected final net.minecraft.client.Minecraft minecraft -
serverData
protected final net.minecraft.client.server.LanServer serverData
-
-
Constructor Details
-
NetworkServerEntry
protected NetworkServerEntry(CustomMultiplayerScreen p_99836_, net.minecraft.client.server.LanServer p_99837_)
-
-
Method Details
-
render
public void render(net.minecraft.client.gui.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_) -
mouseClicked
public boolean mouseClicked(double p_99840_, double p_99841_, int p_99842_) -
getServerData
public net.minecraft.client.server.LanServer getServerData() -
getNarration
public net.minecraft.network.chat.Component getNarration()- Specified by:
getNarration
in classnet.minecraft.client.gui.components.ObjectSelectionList.Entry<CustomServerSelectionList.Entry>
-
getServerNarration
public net.minecraft.network.chat.Component getServerNarration()
-