public class ServerSelectionList extends GuiListExtended<ServerSelectionList.Entry>
| Modifier and Type | Class and Description |
|---|---|
static class |
ServerSelectionList.Entry |
GuiListExtended.IGuiListEntry<E extends GuiListExtended.IGuiListEntry<E>>amountScrolled, bottom, centerListVertically, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mc, right, selectedElement, showSelectionBox, slotHeight, top, visible, widthICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel| Constructor and Description |
|---|
ServerSelectionList(GuiMultiplayer ownerIn,
Minecraft mcIn,
int widthIn,
int heightIn,
int topIn,
int bottomIn,
int slotHeightIn) |
| Modifier and Type | Method and Description |
|---|---|
int |
getListWidth() |
protected int |
getScrollBarX() |
int |
getSelected() |
protected boolean |
isSelected(int slotIndex) |
void |
setSelectedSlotIndex(int selectedSlotIndexIn) |
void |
updateNetworkServers(java.util.List<LanServerInfo> p_148194_1_) |
void |
updateOnlineServers(ServerList p_148195_1_) |
addEntry, clearEntries, drawBackground, drawSlot, getChildren, getSize, mouseClicked, setSelectedEntry, updateItemPosbindAmountScrolled, charTyped, checkScrollbarClick, clickedHeader, drawContainerBackground, drawListHeader, drawScreen, drawSelectionBox, getAmountScrolled, getContentHeight, getEntryAt, getMaxScroll, getSlotHeight, isMouseInList, isVisible, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, overlayBackground, renderDecorations, scrollBy, setDimensions, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeftfocusNext, focusOn, getFocused, setDragging, setFocuseddrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitkeyReleasedcanFocus, focusChangedpublic ServerSelectionList(GuiMultiplayer ownerIn, Minecraft mcIn, int widthIn, int heightIn, int topIn, int bottomIn, int slotHeightIn)
public void setSelectedSlotIndex(int selectedSlotIndexIn)
protected boolean isSelected(int slotIndex)
isSelected in class GuiListExtended<ServerSelectionList.Entry>public int getSelected()
public void updateOnlineServers(ServerList p_148195_1_)
public void updateNetworkServers(java.util.List<LanServerInfo> p_148194_1_)
protected int getScrollBarX()
getScrollBarX in class GuiSlotpublic int getListWidth()
getListWidth in class GuiSlot