public class ServerSelectionList extends GuiListExtended
GuiListExtended.IGuiListEntryamountScrolled, bottom, field_148163_i, field_178041_q, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mc, mouseX, mouseY, right, scrollMultiplier, selectedElement, showSelectionBox, slotHeight, top, 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 |
|---|---|
int |
func_148193_k() |
void |
func_148194_a(java.util.List<LanServerDetector.LanServer> p_148194_1_) |
void |
func_148195_a(ServerList p_148195_1_) |
GuiListExtended.IGuiListEntry |
getListEntry(int index)
Gets the IGuiListEntry object for the given index
|
int |
getListWidth()
Gets the width of the list
|
protected int |
getScrollBarX() |
protected int |
getSize() |
protected boolean |
isSelected(int slotIndex)
Returns true if the element passed in is currently selected
|
void |
setSelectedSlotIndex(int selectedSlotIndexIn) |
drawBackground, drawSlot, elementClicked, func_178040_a, mouseClicked, mouseReleasedactionPerformed, bindAmountScrolled, drawContainerBackground, drawListHeader, drawScreen, drawSelectionBox, func_148132_a, func_148135_f, func_148142_b, getAmountScrolled, getContentHeight, getEnabled, getSlotHeight, getSlotIndexFromScreenCoords, handleMouseInput, isMouseYWithinSlotBounds, overlayBackground, registerScrollButtons, 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 func_148193_k()
public void func_148195_a(ServerList p_148195_1_)
public void func_148194_a(java.util.List<LanServerDetector.LanServer> p_148194_1_)
protected int getScrollBarX()
getScrollBarX in class GuiSlotpublic int getListWidth()
getListWidth in class GuiSlot