@Environment(value=CLIENT) public abstract class ElementListWidget<E extends ElementListWidget.Entry<E>> extends EntryListWidget<E>
| Modifier and Type | Class and Description |
|---|---|
static class |
ElementListWidget.Entry<E extends ElementListWidget.Entry<E>> |
EntryListWidget.class_5403, EntryListWidget.Entriesbottom, centerListVertically, client, headerHeight, height, itemHeight, left, right, top, widthBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
ElementListWidget(MinecraftClient client,
int width,
int height,
int top,
int bottom,
int itemHeight) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
changeFocus(boolean lookForwards) |
protected boolean |
isSelectedItem(int index) |
addEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getEntry, getEntryAtPosition, getFocused, getItemCount, getMaxPosition, getRowLeft, getRowTop, getRowWidth, getScrollAmount, getScrollbarPositionX, getSelected, isFocused, isMouseOver, keyPressed, method_29344, method_30013, method_30015, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, moveSelection, remove, removeEntry, render, renderBackground, renderDecorations, renderHeader, renderList, replaceEntries, setLeftPos, setRenderHeader, setScrollAmount, setSelected, updateScrollingState, updateSizeisDragging, setDragging, setFocuseddrawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, focusOn, hoveredElement, keyReleased, setInitialFocusmouseMovedpublic ElementListWidget(MinecraftClient client, int width, int height, int top, int bottom, int itemHeight)
public boolean changeFocus(boolean lookForwards)
protected boolean isSelectedItem(int index)
isSelectedItem in class EntryListWidget<E extends ElementListWidget.Entry<E>>