public abstract class GuiListExtended extends GuiSlot
Modifier and Type | Class and Description |
---|---|
static interface |
GuiListExtended.IGuiListEntry |
amountScrolled, bottom, centerListVertically, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mc, mouseX, mouseY, right, scrollMultiplier, selectedElement, showSelectionBox, slotHeight, top, visible, width
Constructor and Description |
---|
GuiListExtended(Minecraft mcIn,
int widthIn,
int heightIn,
int topIn,
int bottomIn,
int slotHeightIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawBackground() |
protected void |
drawSlot(int entryID,
int insideLeft,
int yPos,
int insideSlotHeight,
int mouseXIn,
int mouseYIn) |
protected void |
elementClicked(int slotIndex,
boolean isDoubleClick,
int mouseX,
int mouseY) |
abstract GuiListExtended.IGuiListEntry |
getListEntry(int index) |
protected boolean |
isSelected(int slotIndex) |
boolean |
mouseClicked(int mouseX,
int mouseY,
int mouseEvent) |
boolean |
mouseReleased(int p_148181_1_,
int p_148181_2_,
int p_148181_3_) |
protected void |
updateItemPos(int entryID,
int insideLeft,
int yPos) |
actionPerformed, bindAmountScrolled, clickedHeader, drawContainerBackground, drawListHeader, drawScreen, drawSelectionBox, getAmountScrolled, getContentHeight, getEnabled, getListWidth, getMaxScroll, getScrollBarX, getSize, getSlotHeight, getSlotIndexFromScreenCoords, handleMouseInput, isMouseYWithinSlotBounds, overlayBackground, registerScrollButtons, renderDecorations, scrollBy, setDimensions, setEnabled, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeft
public GuiListExtended(Minecraft mcIn, int widthIn, int heightIn, int topIn, int bottomIn, int slotHeightIn)
protected void elementClicked(int slotIndex, boolean isDoubleClick, int mouseX, int mouseY)
elementClicked
in class GuiSlot
protected boolean isSelected(int slotIndex)
isSelected
in class GuiSlot
protected void drawBackground()
drawBackground
in class GuiSlot
protected void drawSlot(int entryID, int insideLeft, int yPos, int insideSlotHeight, int mouseXIn, int mouseYIn)
protected void updateItemPos(int entryID, int insideLeft, int yPos)
updateItemPos
in class GuiSlot
public boolean mouseClicked(int mouseX, int mouseY, int mouseEvent)
public boolean mouseReleased(int p_148181_1_, int p_148181_2_, int p_148181_3_)
public abstract GuiListExtended.IGuiListEntry getListEntry(int index)