Package net.minecraft.client.gui.screen
Class ServerSelectionList.NormalEntry
- 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.NormalEntry
-
- All Implemented Interfaces:
IGuiEventListener
- Enclosing class:
- ServerSelectionList
public class ServerSelectionList.NormalEntry extends ServerSelectionList.Entry
-
-
Field Summary
Fields Modifier and Type Field Description private DynamicTexture
icon
private ResourceLocation
iconLocation
private long
lastClickTime
private java.lang.String
lastIconB64
private Minecraft
minecraft
private MultiplayerScreen
screen
private ServerData
serverData
-
Fields inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
list
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NormalEntry(MultiplayerScreen p_i50669_2_, ServerData p_i50669_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private boolean
canJoin()
protected void
drawIcon(MatrixStack p_238859_1_, int p_238859_2_, int p_238859_3_, ResourceLocation p_238859_4_)
ServerData
getServerData()
boolean
keyPressed(int p_231046_1_, int p_231046_2_, int p_231046_3_)
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_)
private void
swap(int p_228196_1_, int p_228196_2_)
void
updateServerList()
private boolean
uploadServerIcon(java.lang.String p_241614_1_)
-
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, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
-
-
-
Field Detail
-
screen
private final MultiplayerScreen screen
-
minecraft
private final Minecraft minecraft
-
serverData
private final ServerData serverData
-
iconLocation
private final ResourceLocation iconLocation
-
lastIconB64
private java.lang.String lastIconB64
-
icon
private DynamicTexture icon
-
lastClickTime
private long lastClickTime
-
-
Constructor Detail
-
NormalEntry
protected NormalEntry(MultiplayerScreen p_i50669_2_, ServerData p_i50669_3_)
-
-
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>
-
updateServerList
public void updateServerList()
-
drawIcon
protected void drawIcon(MatrixStack p_238859_1_, int p_238859_2_, int p_238859_3_, ResourceLocation p_238859_4_)
-
canJoin
private boolean canJoin()
-
uploadServerIcon
private boolean uploadServerIcon(@Nullable java.lang.String p_241614_1_)
-
keyPressed
public boolean keyPressed(int p_231046_1_, int p_231046_2_, int p_231046_3_)
-
swap
private void swap(int p_228196_1_, int p_228196_2_)
-
mouseClicked
public boolean mouseClicked(double p_231044_1_, double p_231044_3_, int p_231044_5_)
-
getServerData
public ServerData getServerData()
-
-