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 slotIndex,
int xPos,
int yPos,
int heightIn,
int mouseXIn,
int mouseYIn,
float partialTicks) |
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 x,
int y,
int mouseEvent) |
protected void |
updateItemPos(int entryID,
int insideLeft,
int yPos,
float partialTicks) |
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 slotIndex, int xPos, int yPos, int heightIn, int mouseXIn, int mouseYIn, float partialTicks)
protected void updateItemPos(int entryID, int insideLeft, int yPos, float partialTicks)
updateItemPos
in class GuiSlot
public boolean mouseClicked(int mouseX, int mouseY, int mouseEvent)
public boolean mouseReleased(int x, int y, int mouseEvent)
public abstract GuiListExtended.IGuiListEntry getListEntry(int index)