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.class_4267$class_4270
net.minecraft.client.gui.screen.multiplayer.MultiplayerServerListWidget$ServerEntry

Field summary

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

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)
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()
method_55815()
update()
public void
updateServerList()
method_29978()
saveFile()
protected void
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)
method_49300(byte[] arg0)
uploadFavicon(byte[] bytes)
public boolean
keyPressed(KeyEvent event)
method_25404(class_11908 arg0)
keyPressed(KeyInput arg0)
public void
join()
method_74043()
connect()
private void
swap(int currentIndex, int newIndex)
method_22110(int arg0, int arg1)
swapEntries(int i, int j)
public boolean
mouseClicked(MouseButtonEvent event, boolean doubleClick)
method_25402(class_11909 arg0, boolean arg1)
mouseClicked(Click arg0, boolean arg1)
public ServerInfo
getServerData()
method_20133()
getServer()
public Text
getNarration()
method_37006()
getNarration()
public void
close()
protected boolean
matches(ServerSelectionList$Entry other)
method_73436(class_4267$class_504 arg0)
isOfSameType(MultiplayerServerListWidget$Entry arg0)
private void
lambda$extractContent$0()
method_73437()
method_73437()
private void
lambda$extractContent$2()
method_73438()
method_73438()
private void
lambda$extractContent$1()
method_73439()
method_73439()