@Environment(value=CLIENT) class RealmsPlayerScreen.InvitedObjectSelectionListEntry extends AlwaysSelectedEntryListWidget.Entry<RealmsPlayerScreen.InvitedObjectSelectionListEntry>
| Modifier and Type | Field and Description |
|---|---|
private PlayerInfo |
playerInfo |
| Constructor and Description |
|---|
InvitedObjectSelectionListEntry(PlayerInfo playerInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
render(MatrixStack matrices,
int index,
int y,
int x,
int entryWidth,
int entryHeight,
int mouseX,
int mouseY,
boolean hovered,
float tickDelta)
Renders an entry in a list.
|
private void |
renderInvitedItem(MatrixStack matrices,
PlayerInfo playerInfo,
int x,
int y,
int mouseX,
int mouseY) |
changeFocusisMouseOverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolledprivate final PlayerInfo playerInfo
public InvitedObjectSelectionListEntry(PlayerInfo playerInfo)
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<RealmsPlayerScreen.InvitedObjectSelectionListEntry>matrices - the matrix stack used for renderingindex - the index of the entryy - the Y coordinate of the entryx - the X coordinate of the entryentryWidth - the width of the entryentryHeight - the height of the entrymouseX - the X coordinate of the mousemouseY - the Y coordinate of the mousehovered - whether the mouse is hovering over the entryprivate void renderInvitedItem(MatrixStack matrices, PlayerInfo playerInfo, int x, int y, int mouseX, int mouseY)