@Environment(value=CLIENT) class RealmsSelectFileToUploadScreen.WorldListEntry extends AlwaysSelectedEntryListWidget.Entry<RealmsSelectFileToUploadScreen.WorldListEntry>
Modifier and Type | Field and Description |
---|---|
private LevelSummary |
field_22718 |
private String |
field_26509 |
private String |
field_26510 |
private Text |
field_26511 |
Constructor and Description |
---|
WorldListEntry(LevelSummary levelSummary) |
Modifier and Type | Method and Description |
---|---|
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) |
protected void |
renderItem(MatrixStack matrixStack,
LevelSummary levelSummary,
int int2,
int int3,
int int4) |
changeFocus
isMouseOver
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
private final LevelSummary field_22718
private final String field_26509
private final String field_26510
private final Text field_26511
public WorldListEntry(LevelSummary levelSummary)
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<RealmsSelectFileToUploadScreen.WorldListEntry>
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
protected void renderItem(MatrixStack matrixStack, LevelSummary levelSummary, int int2, int int3, int int4)