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
-
Field Summary
Modifier and TypeFieldDescriptionprivate DynamicTexture
private final ResourceLocation
private long
private String
private final Minecraft
private final MultiplayerScreen
private final ServerData
Fields inherited from class net.minecraft.client.gui.widget.list.AbstractList.AbstractListEntry
list
-
Constructor Summary
ModifierConstructorDescriptionprotected
NormalEntry
(MultiplayerScreen p_i50669_2_, ServerData p_i50669_3_) -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
canJoin()
protected void
drawIcon
(MatrixStack p_238859_1_, int p_238859_2_, int p_238859_3_, ResourceLocation p_238859_4_) 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
private boolean
uploadServerIcon
(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 Details
-
screen
-
minecraft
-
serverData
-
iconLocation
-
lastIconB64
-
icon
-
lastClickTime
private long lastClickTime
-
-
Constructor Details
-
NormalEntry
-
-
Method Details
-
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
-
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
-