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, width
ICONS, 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, updateItemPos
bindAmountScrolled, 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, setSlotXBoundsFromLeft
focusNext, focusOn, getFocused, setDragging, setFocused
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
keyReleased
canFocus, focusChanged
public 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 GuiSlot
public int getListWidth()
getListWidth
in class GuiSlot