public class GuiListWorldSelection extends GuiListExtended
GuiListExtended.IGuiListEntryamountScrolled, bottom, centerListVertically, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mc, mouseX, mouseY, right, scrollMultiplier, selectedElement, showSelectionBox, slotHeight, top, visible, width| Constructor and Description |
|---|
GuiListWorldSelection(GuiWorldSelection p_i46590_1_,
Minecraft clientIn,
int p_i46590_3_,
int p_i46590_4_,
int p_i46590_5_,
int p_i46590_6_,
int p_i46590_7_) |
| Modifier and Type | Method and Description |
|---|---|
GuiWorldSelection |
getGuiWorldSelection() |
GuiListWorldSelectionEntry |
getListEntry(int index) |
int |
getListWidth() |
protected int |
getScrollBarX() |
GuiListWorldSelectionEntry |
getSelectedWorld() |
protected int |
getSize() |
protected boolean |
isSelected(int slotIndex) |
void |
refreshList() |
void |
selectWorld(int idx) |
drawBackground, drawSlot, elementClicked, mouseClicked, mouseReleased, updateItemPosactionPerformed, bindAmountScrolled, clickedHeader, drawContainerBackground, drawListHeader, drawScreen, drawSelectionBox, getAmountScrolled, getContentHeight, getEnabled, getMaxScroll, getSlotHeight, getSlotIndexFromScreenCoords, handleMouseInput, isMouseYWithinSlotBounds, overlayBackground, registerScrollButtons, renderDecorations, scrollBy, setDimensions, setEnabled, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeftpublic GuiListWorldSelection(GuiWorldSelection p_i46590_1_, Minecraft clientIn, int p_i46590_3_, int p_i46590_4_, int p_i46590_5_, int p_i46590_6_, int p_i46590_7_)
public void refreshList()
public GuiListWorldSelectionEntry getListEntry(int index)
getListEntry in class GuiListExtendedprotected int getScrollBarX()
getScrollBarX in class GuiSlotpublic int getListWidth()
getListWidth in class GuiSlotpublic void selectWorld(int idx)
protected boolean isSelected(int slotIndex)
isSelected in class GuiListExtended@Nullable public GuiListWorldSelectionEntry getSelectedWorld()
public GuiWorldSelection getGuiWorldSelection()