@Environment(value=CLIENT) public static class MultiplayerServerListWidget.LanServerEntry extends MultiplayerServerListWidget.Entry
| Modifier and Type | Field and Description |
|---|---|
protected MinecraftClient |
client |
private MultiplayerScreen |
screen |
protected LanServerInfo |
server |
private long |
time |
| Modifier | Constructor and Description |
|---|---|
protected |
LanServerEntry(MultiplayerScreen screen,
LanServerInfo server) |
| Modifier and Type | Method and Description |
|---|---|
LanServerInfo |
getLanServerEntry() |
boolean |
mouseClicked(double mouseX,
double mouseY,
int button) |
void |
render(MatrixStack matrices,
int index,
int y,
int x,
int entryWidth,
int entryHeight,
int mouseX,
int mouseY,
boolean hovered,
float tickDelta) |
changeFocusisMouseOverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolledprivate final MultiplayerScreen screen
protected final MinecraftClient client
protected final LanServerInfo server
private long time
protected LanServerEntry(MultiplayerScreen screen, LanServerInfo server)
public void render(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)
render in class EntryListWidget.Entry<MultiplayerServerListWidget.Entry>public boolean mouseClicked(double mouseX,
double mouseY,
int button)
public LanServerInfo getLanServerEntry()