@Environment(value=CLIENT) class RealmsMainScreen.RealmSelectionListEntry extends RealmsMainScreen.Entry
Modifier and Type | Field and Description |
---|---|
private RealmsServer |
mServerData |
Constructor and Description |
---|
RealmSelectionListEntry(RealmsServer serverData) |
Modifier and Type | Method and Description |
---|---|
private void |
method_20945(RealmsServer realmsServer,
MatrixStack matrixStack,
int int2,
int int3,
int int4,
int int5) |
boolean |
mouseClicked(double mouseX,
double mouseY,
int button)
Callback for when a mouse button down event
has been captured.
|
void |
render(MatrixStack matrices,
int index,
int y,
int x,
int entryWidth,
int entryHeight,
int mouseX,
int mouseY,
boolean hovered,
float tickDelta) |
private void |
renderMcoServerItem(RealmsServer serverData,
MatrixStack matrixStack,
int int2,
int int3,
int int4,
int int5) |
changeFocus
isMouseOver
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
private final RealmsServer mServerData
public RealmSelectionListEntry(RealmsServer serverData)
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<RealmsMainScreen.Entry>
public boolean mouseClicked(double mouseX, double mouseY, int button)
GLFW
class.mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousebutton
- the mouse button numbertrue
to indicate that the event handling is successful/validMouse.onMouseButton(long, int, int, int)
,
GLFW.GLFW_MOUSE_BUTTON_1
private void method_20945(RealmsServer realmsServer, MatrixStack matrixStack, int int2, int int3, int int4, int int5)
private void renderMcoServerItem(RealmsServer serverData, MatrixStack matrixStack, int int2, int int3, int int4, int int5)