net.minecraft.client.gui.screen.multiplayer

public class MultiplayerServerListWidget$ServerEntry

extends MultiplayerServerListWidget$Entry implements SquareWidgetEntry

All mapped superinterfaces:

Widget, Element, Navigable, Narratable, SquareWidgetEntry

net.minecraft.client.gui.screens.multiplayer.ServerSelectionList$OnlineServerEntry
net.minecraft.client.gui.screens.multiplayer.ServerSelectionList$OnlineServerEntry
net.minecraft.class_4267$class_4270
net.minecraft.client.gui.screen.multiplayer.MultiplayerServerListWidget$ServerEntry

Field summary

Modifier and TypeField
private static final int
ICON_SIZE
ICON_SIZE
field_64200
field_64200
private static final int
SPACING
SPACING
field_47852
field_47852
private static final int
STATUS_ICON_WIDTH
STATUS_ICON_WIDTH
field_47853
field_47853
private static final int
STATUS_ICON_HEIGHT
STATUS_ICON_HEIGHT
field_47854
field_47854
private final MultiplayerScreen
screen
screen
field_19118
screen
private final MinecraftClient
minecraft
minecraft
field_19119
client
private final ServerInfo
serverData
serverData
field_19120
server
private final WorldIcon
icon
icon
field_19123
icon
private byte[]
lastIconBytes
lastIconBytes
field_42874
favicon
private List<Text>
onlinePlayersTooltip
onlinePlayersTooltip
field_47855
playerListSummary
private Identifier
statusIcon
statusIcon
field_47856
statusIconTexture
private Text
statusIconTooltip
statusIconTooltip
field_47857
statusTooltipText

Constructor summary

ModifierConstructor
protected (MultiplayerServerListWidget this$0, MultiplayerScreen screen, ServerInfo server)

Method summary

Modifier and TypeMethod
public void
extractContent(GuiGraphicsExtractor graphics, int mouseX, int mouseY, boolean hovered, float a)
extractContent(GuiGraphicsExtractor graphics, int mouseX, int mouseY, boolean hovered, float a)
method_25343(class_332 arg0, int arg1, int arg2, boolean arg3, float arg4)
render(DrawContext arg0, int arg1, int arg2, boolean arg3, float arg4)
private void
refreshStatus()
refreshStatus()
method_55815()
update()
public void
updateServerList()
updateServerList()
method_29978()
saveFile()
protected void
extractIcon(GuiGraphicsExtractor graphics, int rowLeft, int rowTop, Identifier location)
extractIcon(GuiGraphicsExtractor graphics, int rowLeft, int rowTop, Identifier location)
method_20134(class_332 arg0, int arg1, int arg2, class_2960 arg3)
draw(DrawContext context, int x, int y, Identifier textureId)
private boolean
uploadServerIcon(byte[] serverIconBytes)
uploadServerIcon(byte[] serverIconBytes)
method_49300(byte[] arg0)
uploadFavicon(byte[] bytes)
public boolean
keyPressed(KeyEvent event)
keyPressed(KeyEvent event)
method_25404(class_11908 arg0)
keyPressed(KeyInput arg0)
public void
join()
join()
method_74043()
connect()
private void
swap(int currentIndex, int newIndex)
swap(int currentIndex, int newIndex)
method_22110(int arg0, int arg1)
swapEntries(int i, int j)
public boolean
mouseClicked(MouseButtonEvent event, boolean doubleClick)
mouseClicked(MouseButtonEvent event, boolean doubleClick)
method_25402(class_11909 arg0, boolean arg1)
mouseClicked(Click arg0, boolean arg1)
public ServerInfo
getServerData()
getServerData()
method_20133()
getServer()
public Text
getNarration()
getNarration()
method_37006()
getNarration()
public void
close()
close()
protected boolean
matches(ServerSelectionList$Entry other)
matches(ServerSelectionList$Entry other)
method_73436(class_4267$class_504 arg0)
isOfSameType(MultiplayerServerListWidget$Entry arg0)