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>>
Modifier and Type | Field and Description |
---|---|
private static java.util.concurrent.ThreadPoolExecutor |
field_214358_b |
private static ResourceLocation |
field_214359_c |
private static ResourceLocation |
field_214360_d |
private ServerSelectionList.Entry |
lanScanEntry |
private static org.apache.logging.log4j.Logger |
LOGGER |
private MultiplayerScreen |
owner |
private java.util.List<ServerSelectionList.NormalEntry> |
serverListInternet |
private java.util.List<ServerSelectionList.LanDetectedEntry> |
serverListLan |
centerListVertically, DRAG_OUTSIDE, headerHeight, height, itemHeight, minecraft, renderHeader, renderSelection, width, x0, x1, y0, y1, yDrag
BACKGROUND_LOCATION, 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 |
---|---|
private void |
func_195094_h() |
int |
getRowWidth() |
protected int |
getScrollbarPosition() |
protected boolean |
isFocused() |
boolean |
keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_) |
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, 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, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, func_212932_b, getEventListenerForPos, keyReleased, setFocusedDefault
mouseMoved
private static final org.apache.logging.log4j.Logger LOGGER
private static final java.util.concurrent.ThreadPoolExecutor field_214358_b
private static final ResourceLocation field_214359_c
private static final ResourceLocation field_214360_d
private final MultiplayerScreen owner
private final java.util.List<ServerSelectionList.NormalEntry> serverListInternet
private final ServerSelectionList.Entry lanScanEntry
private final java.util.List<ServerSelectionList.LanDetectedEntry> serverListLan
public ServerSelectionList(MultiplayerScreen ownerIn, Minecraft mcIn, int widthIn, int heightIn, int topIn, int bottomIn, int slotHeightIn)
private void func_195094_h()
public void setSelected(ServerSelectionList.Entry p_setSelected_1_)
setSelected
in class AbstractList<ServerSelectionList.Entry>
public boolean keyPressed(int p_keyPressed_1_, int p_keyPressed_2_, int p_keyPressed_3_)
keyPressed
in interface IGuiEventListener
keyPressed
in interface INestedGuiEventHandler
keyPressed
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>