public class ServerSelectionList extends GuiListExtended
GuiListExtended.IGuiListEntry
amountScrolled, 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, updateItemPos
actionPerformed, bindAmountScrolled, clickedHeader, drawContainerBackground, drawListHeader, drawScreen, drawSelectionBox, getAmountScrolled, getContentHeight, getEnabled, getMaxScroll, getSlotHeight, getSlotIndexFromScreenCoords, handleMouseInput, isMouseYWithinSlotBounds, overlayBackground, registerScrollButtons, renderDecorations, scrollBy, setDimensions, setEnabled, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeft
public ServerSelectionList(GuiMultiplayer ownerIn, Minecraft mcIn, int widthIn, int heightIn, int topIn, int bottomIn, int slotHeightIn)
public GuiListExtended.IGuiListEntry getListEntry(int index)
getListEntry
in class GuiListExtended
public void setSelectedSlotIndex(int selectedSlotIndexIn)
protected boolean isSelected(int slotIndex)
isSelected
in class GuiListExtended
public 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 GuiSlot
public int getListWidth()
getListWidth
in class GuiSlot