@Environment(value=CLIENT) class RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionList extends RealmsObjectSelectionList<RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry>
AlwaysSelectedEntryListWidget.Entry<E extends AlwaysSelectedEntryListWidget.Entry<E>>bottom, centerListVertically, client, headerHeight, height, itemHeight, left, renderHeader, renderSelection, right, top, width, yDragBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
WorldTemplateObjectSelectionList() |
WorldTemplateObjectSelectionList(Iterable<WorldTemplate> templates) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(WorldTemplate template) |
WorldTemplate |
getItem(int index) |
int |
getMaxPosition() |
int |
getRowWidth() |
List<WorldTemplate> |
getValues() |
boolean |
isEmpty() |
boolean |
isFocused() |
boolean |
mouseClicked(double mouseX,
double mouseY,
int button) |
void |
renderBackground() |
void |
setSelected(int index) |
void |
setSelected(RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry worldTemplateObjectSelectionListEntry) |
addEntry, clear, getItemCount, getRowLeft, getRowTop, getScrollbarPositionX, itemClicked, replaceEntries, setSelectedItemchangeFocuscenterScrollOn, children, clearEntries, clickedHeader, ensureVisible, getEntry, getEntryAtPosition, getFocused, getScrollAmount, getSelected, isMouseOver, isSelectedItem, keyPressed, mouseDragged, mouseReleased, mouseScrolled, moveSelection, remove, removeEntry, render, renderDecorations, renderHeader, renderHoleBackground, renderList, setLeftPos, setRenderHeader, setScrollAmount, updateScrollingState, updateSizeisDragging, setDragging, setFocuseddrawCenteredString, drawHorizontalLine, drawSprite, drawString, drawTexture, drawTexture, drawTexture, drawTexture, drawTexturedQuad, drawVerticalLine, fill, fill, fillGradient, getZOffset, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, focusOn, hoveredElement, keyReleased, setInitialFocusmouseMovedpublic WorldTemplateObjectSelectionList()
public WorldTemplateObjectSelectionList(Iterable<WorldTemplate> templates)
public void addEntry(WorldTemplate template)
public boolean mouseClicked(double mouseX,
double mouseY,
int button)
mouseClicked in interface ElementmouseClicked in interface ParentElementmouseClicked in class EntryListWidget<RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry>public void setSelected(int index)
public void setSelected(@Nullable RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry worldTemplateObjectSelectionListEntry)
public int getMaxPosition()
public int getRowWidth()
public void renderBackground()
public boolean isFocused()
public boolean isEmpty()
public WorldTemplate getItem(int index)
public List<WorldTemplate> getValues()