public abstract class GuiResourcePackList extends GuiListExtended
GuiListExtended.IGuiListEntry
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ResourcePackListEntry> |
field_148204_l |
protected Minecraft |
mc |
amountScrolled, bottom, field_148163_i, field_178041_q, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mouseX, mouseY, right, scrollMultiplier, selectedElement, showSelectionBox, slotHeight, top, width
Constructor and Description |
---|
GuiResourcePackList(Minecraft mcIn,
int p_i45055_2_,
int p_i45055_3_,
java.util.List<ResourcePackListEntry> p_i45055_4_) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawListHeader(int p_148129_1_,
int p_148129_2_,
Tessellator p_148129_3_)
Handles drawing a list's header row.
|
java.util.List<ResourcePackListEntry> |
getList() |
ResourcePackListEntry |
getListEntry(int index)
Gets the IGuiListEntry object for the given index
|
protected abstract java.lang.String |
getListHeader() |
int |
getListWidth()
Gets the width of the list
|
protected int |
getScrollBarX() |
protected int |
getSize() |
drawBackground, drawSlot, elementClicked, func_178040_a, isSelected, mouseClicked, mouseReleased
actionPerformed, bindAmountScrolled, drawContainerBackground, 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
protected final Minecraft mc
protected final java.util.List<ResourcePackListEntry> field_148204_l
public GuiResourcePackList(Minecraft mcIn, int p_i45055_2_, int p_i45055_3_, java.util.List<ResourcePackListEntry> p_i45055_4_)
protected void drawListHeader(int p_148129_1_, int p_148129_2_, Tessellator p_148129_3_)
drawListHeader
in class GuiSlot
protected abstract java.lang.String getListHeader()
public java.util.List<ResourcePackListEntry> getList()
public ResourcePackListEntry getListEntry(int index)
getListEntry
in class GuiListExtended
public int getListWidth()
getListWidth
in class GuiSlot
protected int getScrollBarX()
getScrollBarX
in class GuiSlot