public class ServerSelectionList 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 |
|---|
ServerSelectionList(GuiMultiplayer ownerIn,
Minecraft mcIn,
int widthIn,
int heightIn,
int topIn,
int bottomIn,
int slotHeightIn) |
| Modifier and Type | Method and Description |
|---|---|
GuiListExtended.IGuiListEntry |
getListEntry(int index) |
int |
getListWidth() |
protected int |
getScrollBarX() |
int |
getSelected() |
protected int |
getSize() |
protected boolean |
isSelected(int slotIndex) |
void |
setSelectedSlotIndex(int selectedSlotIndexIn) |
void |
updateNetworkServers(java.util.List<LanServerDetector.LanServer> p_148194_1_) |
void |
updateOnlineServers(ServerList p_148195_1_) |
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 ServerSelectionList(GuiMultiplayer ownerIn, Minecraft mcIn, int widthIn, int heightIn, int topIn, int bottomIn, int slotHeightIn)
public GuiListExtended.IGuiListEntry getListEntry(int index)
getListEntry in class GuiListExtendedpublic void setSelectedSlotIndex(int selectedSlotIndexIn)
protected boolean isSelected(int slotIndex)
isSelected in class GuiListExtendedpublic int getSelected()
public void updateOnlineServers(ServerList p_148195_1_)
public void updateNetworkServers(java.util.List<LanServerDetector.LanServer> p_148194_1_)
protected int getScrollBarX()
getScrollBarX in class GuiSlotpublic int getListWidth()
getListWidth in class GuiSlot