public class ServerSelectionList extends ExtendedList<ServerSelectionList.Entry>
Modifier and Type | Class and Description |
---|---|
static class |
ServerSelectionList.Entry |
static class |
ServerSelectionList.LanDetectedEntry |
static class |
ServerSelectionList.LanScanEntry |
class |
ServerSelectionList.NormalEntry |
ExtendedList.AbstractListEntry<E extends ExtendedList.AbstractListEntry<E>>
centerListVertically, DRAG_OUTSIDE, headerHeight, height, itemHeight, minecraft, renderHeader, renderSelection, width, x0, x1, y0, y1, yDrag
BACKGROUND_LOCATION, blitOffset, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
ServerSelectionList(MultiplayerScreen ownerIn,
Minecraft mcIn,
int widthIn,
int heightIn,
int topIn,
int bottomIn,
int slotHeightIn) |
Modifier and Type | Method and Description |
---|---|
int |
getRowWidth() |
protected int |
getScrollbarPosition() |
protected boolean |
isFocused() |
protected void |
moveSelection(int p_moveSelection_1_) |
void |
setSelected(ServerSelectionList.Entry p_setSelected_1_) |
void |
updateNetworkServers(java.util.List<LanServerInfo> p_148194_1_) |
void |
updateOnlineServers(ServerList p_148195_1_) |
changeFocus
addEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFocused, getHeight, getItemCount, getLeft, getMaxPosition, getRight, getRowLeft, getRowTop, getScrollAmount, getScrollBottom, getSelected, getTop, getWidth, isMouseOver, isSelectedItem, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, remove, removeEntry, render, renderBackground, renderDecorations, renderHeader, renderHoleBackground, renderList, replaceEntries, setLeftPos, setRenderHeader, setRenderSelection, setScrollAmount, updateScrollingState, updateSize
isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fillGradient, hLine, innerBlit, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, func_212928_a, func_212930_a, func_212932_b, keyReleased
mouseMoved
public ServerSelectionList(MultiplayerScreen ownerIn, Minecraft mcIn, int widthIn, int heightIn, int topIn, int bottomIn, int slotHeightIn)
public void setSelected(ServerSelectionList.Entry p_setSelected_1_)
setSelected
in class AbstractList<ServerSelectionList.Entry>
protected void moveSelection(int p_moveSelection_1_)
moveSelection
in class AbstractList<ServerSelectionList.Entry>
public void updateOnlineServers(ServerList p_148195_1_)
public void updateNetworkServers(java.util.List<LanServerInfo> p_148194_1_)
protected int getScrollbarPosition()
getScrollbarPosition
in class AbstractList<ServerSelectionList.Entry>
public int getRowWidth()
getRowWidth
in class AbstractList<ServerSelectionList.Entry>
protected boolean isFocused()
isFocused
in class AbstractList<ServerSelectionList.Entry>