public abstract class GuiResourcePackList extends GuiListExtended
GuiListExtended.IGuiListEntry| Modifier and Type | Field and Description |
|---|---|
protected Minecraft |
mc |
protected java.util.List<ResourcePackListEntry> |
resourcePackEntries |
amountScrolled, bottom, centerListVertically, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mouseX, mouseY, right, scrollMultiplier, selectedElement, showSelectionBox, slotHeight, top, visible, 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 insideLeft,
int insideTop,
Tessellator tessellatorIn) |
java.util.List<ResourcePackListEntry> |
getList() |
ResourcePackListEntry |
getListEntry(int index) |
protected abstract java.lang.String |
getListHeader() |
int |
getListWidth() |
protected int |
getScrollBarX() |
protected int |
getSize() |
drawBackground, drawSlot, elementClicked, isSelected, mouseClicked, mouseReleased, updateItemPosactionPerformed, bindAmountScrolled, clickedHeader, drawContainerBackground, drawScreen, drawSelectionBox, getAmountScrolled, getContentHeight, getEnabled, getMaxScroll, getSlotHeight, getSlotIndexFromScreenCoords, handleMouseInput, isMouseYWithinSlotBounds, overlayBackground, registerScrollButtons, renderDecorations, scrollBy, setDimensions, setEnabled, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeftprotected final Minecraft mc
protected final java.util.List<ResourcePackListEntry> resourcePackEntries
public GuiResourcePackList(Minecraft mcIn, int p_i45055_2_, int p_i45055_3_, java.util.List<ResourcePackListEntry> p_i45055_4_)
protected void drawListHeader(int insideLeft,
int insideTop,
Tessellator tessellatorIn)
drawListHeader in class GuiSlotprotected abstract java.lang.String getListHeader()
public java.util.List<ResourcePackListEntry> getList()
public ResourcePackListEntry getListEntry(int index)
getListEntry in class GuiListExtendedpublic int getListWidth()
getListWidth in class GuiSlotprotected int getScrollBarX()
getScrollBarX in class GuiSlot