public class GuiSlotModList extends GuiScrollingList
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<ModContainer> |
mods |
private GuiModList |
parent |
private static ResourceLocation |
VERSION_CHECK_ICONS |
bottom, captureMouse, left, listHeight, listWidth, mouseX, mouseY, right, screenHeight, screenWidth, selectedIndex, slotHeight, top
Constructor and Description |
---|
GuiSlotModList(GuiModList parent,
java.util.ArrayList<ModContainer> mods,
int listWidth,
int slotHeight) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawBackground() |
protected void |
drawSlot(int idx,
int right,
int top,
int height,
Tessellator tess)
Draw anything special on the screen.
|
protected void |
elementClicked(int index,
boolean doubleClick) |
protected int |
getContentHeight() |
(package private) java.util.ArrayList<ModContainer> |
getMods() |
protected int |
getSize() |
protected boolean |
isSelected(int index) |
actionPerformed, clickHeader, drawGradientRect, drawHeader, drawScreen, drawScreen, func_27255_a, func_27256_c, func_27257_b, func_27258_a, func_27259_a, func_27260_a, handleMouseInput, registerScrollButtons, setHeaderInfo
private static final ResourceLocation VERSION_CHECK_ICONS
private GuiModList parent
private java.util.ArrayList<ModContainer> mods
public GuiSlotModList(GuiModList parent, java.util.ArrayList<ModContainer> mods, int listWidth, int slotHeight)
protected int getSize()
getSize
in class GuiScrollingList
protected void elementClicked(int index, boolean doubleClick)
elementClicked
in class GuiScrollingList
protected boolean isSelected(int index)
isSelected
in class GuiScrollingList
protected void drawBackground()
drawBackground
in class GuiScrollingList
protected int getContentHeight()
getContentHeight
in class GuiScrollingList
java.util.ArrayList<ModContainer> getMods()
protected void drawSlot(int idx, int right, int top, int height, Tessellator tess)
GuiScrollingList
drawSlot
in class GuiScrollingList