@Environment(value=CLIENT) public abstract static class EntryListWidget.Entry<E extends EntryListWidget.Entry<E>> extends Object implements Element
| Modifier and Type | Field and Description |
|---|---|
private EntryListWidget<E> |
list
Deprecated.
|
| Constructor and Description |
|---|
Entry() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMouseOver(double mouseX,
double mouseY)
Checks if the mouse position is within the bound
of the element.
|
abstract void |
render(MatrixStack matrices,
int index,
int y,
int x,
int entryWidth,
int entryHeight,
int mouseX,
int mouseY,
boolean hovered,
float tickDelta) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled@Deprecated private EntryListWidget<E extends EntryListWidget.Entry<E>> list
public abstract void render(MatrixStack matrices, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)
public boolean isMouseOver(double mouseX,
double mouseY)
isMouseOver in interface ElementmouseX - the X coordinate of the mousemouseY - the Y coordinate of the mousetrue if the mouse is within the bound of the element, otherwise false