@Environment(value=CLIENT) public class MultiplayerServerListWidget.ServerEntry extends MultiplayerServerListWidget.Entry
| Modifier and Type | Field and Description |
|---|---|
private MinecraftClient |
client |
private NativeImageBackedTexture |
icon |
private Identifier |
iconTextureId |
private String |
iconUri |
private MultiplayerScreen |
screen |
private ServerInfo |
server |
private long |
time |
| Modifier | Constructor and Description |
|---|---|
protected |
ServerEntry(MultiplayerScreen screen,
ServerInfo server) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
draw(MatrixStack matrixStack,
int int2,
int int3,
Identifier identifier) |
ServerInfo |
getServer() |
boolean |
keyPressed(int keyCode,
int scanCode,
int modifiers) |
private boolean |
method_20136() |
void |
method_29978() |
private boolean |
method_29979(String string) |
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) |
private void |
swapEntries(int i,
int j) |
changeFocusisMouseOverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolledprivate final MultiplayerScreen screen
private final MinecraftClient client
private final ServerInfo server
private final Identifier iconTextureId
private String iconUri
private NativeImageBackedTexture icon
private long time
protected ServerEntry(MultiplayerScreen screen, ServerInfo 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 void method_29978()
protected void draw(MatrixStack matrixStack, int int2, int int3, Identifier identifier)
private boolean method_20136()
public boolean keyPressed(int keyCode,
int scanCode,
int modifiers)
private void swapEntries(int i,
int j)
public boolean mouseClicked(double mouseX,
double mouseY,
int button)
public ServerInfo getServer()