public class WorldSelectionList extends ExtendedList<WorldSelectionList.Entry>
| Modifier and Type | Class and Description |
|---|---|
class |
WorldSelectionList.Entry |
ExtendedList.AbstractListEntry<E extends ExtendedList.AbstractListEntry<E>>centerListVertically, DRAG_OUTSIDE, headerHeight, height, itemHeight, minecraft, renderHeader, renderSelection, width, x0, x1, y0, y1, yDragBACKGROUND_LOCATION, blitOffset, GUI_ICONS_LOCATION, STATS_ICON_LOCATION| Constructor and Description |
|---|
WorldSelectionList(WorldSelectionScreen p_i49846_1_,
Minecraft p_i49846_2_,
int p_i49846_3_,
int p_i49846_4_,
int p_i49846_5_,
int p_i49846_6_,
int p_i49846_7_,
java.util.function.Supplier<java.lang.String> p_i49846_8_,
WorldSelectionList p_i49846_9_) |
| Modifier and Type | Method and Description |
|---|---|
void |
func_212330_a(java.util.function.Supplier<java.lang.String> p_212330_1_,
boolean p_212330_2_) |
java.util.Optional<WorldSelectionList.Entry> |
func_214376_a() |
WorldSelectionScreen |
getGuiWorldSelection() |
int |
getRowWidth() |
protected int |
getScrollbarPosition() |
protected boolean |
isFocused() |
protected void |
moveSelection(int p_moveSelection_1_) |
void |
setSelected(WorldSelectionList.Entry p_setSelected_1_) |
changeFocusaddEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFocused, getHeight, getItemCount, getLeft, getMaxPosition, getRight, getRowLeft, getRowTop, getScrollAmount, getScrollBottom, getSelected, getTop, getWidth, isMouseOver, isSelectedItem, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, remove, removeEntry, render, renderBackground, renderDecorations, renderHeader, renderHoleBackground, renderList, replaceEntries, setLeftPos, setRenderHeader, setRenderSelection, setScrollAmount, updateScrollingState, updateSizeisDragging, setDragging, setFocusedblit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fillGradient, hLine, innerBlit, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, func_212928_a, func_212930_a, func_212932_b, keyReleasedmouseMovedpublic WorldSelectionList(WorldSelectionScreen p_i49846_1_, Minecraft p_i49846_2_, int p_i49846_3_, int p_i49846_4_, int p_i49846_5_, int p_i49846_6_, int p_i49846_7_, java.util.function.Supplier<java.lang.String> p_i49846_8_, @Nullable WorldSelectionList p_i49846_9_)
public void func_212330_a(java.util.function.Supplier<java.lang.String> p_212330_1_,
boolean p_212330_2_)
protected int getScrollbarPosition()
getScrollbarPosition in class AbstractList<WorldSelectionList.Entry>public int getRowWidth()
getRowWidth in class AbstractList<WorldSelectionList.Entry>protected boolean isFocused()
isFocused in class AbstractList<WorldSelectionList.Entry>public void setSelected(@Nullable
WorldSelectionList.Entry p_setSelected_1_)
setSelected in class AbstractList<WorldSelectionList.Entry>protected void moveSelection(int p_moveSelection_1_)
moveSelection in class AbstractList<WorldSelectionList.Entry>public java.util.Optional<WorldSelectionList.Entry> func_214376_a()
public WorldSelectionScreen getGuiWorldSelection()