Package net.minecraft.client.gui
Class ServerSelectionList
- java.lang.Object
-
- net.minecraft.client.gui.GuiSlot
-
- net.minecraft.client.gui.GuiListExtended
-
- net.minecraft.client.gui.ServerSelectionList
-
public class ServerSelectionList extends GuiListExtended
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.client.gui.GuiListExtended
GuiListExtended.IGuiListEntry
-
-
Field Summary
-
Fields inherited from class net.minecraft.client.gui.GuiSlot
amountScrolled, bottom, field_148163_i, field_178041_q, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mc, mouseX, mouseY, right, scrollMultiplier, selectedElement, showSelectionBox, slotHeight, top, width
-
-
Constructor Summary
Constructors Constructor Description ServerSelectionList(GuiMultiplayer ownerIn, Minecraft mcIn, int widthIn, int heightIn, int topIn, int bottomIn, int slotHeightIn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
func_148193_k()
void
func_148195_a(ServerList parServerList)
GuiListExtended.IGuiListEntry
getListEntry(int i)
+ Gets the IGuiListEntry object for the given indexint
getListWidth()
+ Gets the width of the listprotected int
getScrollBarX()
protected int
getSize()
protected boolean
isSelected(int i)
+ Returns true if the element passed in is currently selectedvoid
setSelectedSlotIndex(int selectedSlotIndexIn)
-
Methods inherited from class net.minecraft.client.gui.GuiListExtended
drawBackground, drawSlot, elementClicked, func_178040_a, mouseClicked, mouseReleased
-
Methods inherited from class net.minecraft.client.gui.GuiSlot
actionPerformed, bindAmountScrolled, 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, setSlotXBoundsFromLeft
-
-
-
-
Constructor Detail
-
ServerSelectionList
public ServerSelectionList(GuiMultiplayer ownerIn, Minecraft mcIn, int widthIn, int heightIn, int topIn, int bottomIn, int slotHeightIn)
-
-
Method Detail
-
getListEntry
public GuiListExtended.IGuiListEntry getListEntry(int i)
+ Gets the IGuiListEntry object for the given index- Specified by:
getListEntry
in classGuiListExtended
-
setSelectedSlotIndex
public void setSelectedSlotIndex(int selectedSlotIndexIn)
-
isSelected
protected boolean isSelected(int i)
+ Returns true if the element passed in is currently selected- Overrides:
isSelected
in classGuiListExtended
-
func_148193_k
public int func_148193_k()
-
func_148195_a
public void func_148195_a(ServerList parServerList)
-
getScrollBarX
protected int getScrollBarX()
- Overrides:
getScrollBarX
in classGuiSlot
-
getListWidth
public int getListWidth()
+ Gets the width of the list- Overrides:
getListWidth
in classGuiSlot
-
-