public class GuiSimpleScrolledSelectionListProxy extends GuiSlot
amountScrolled, bottom, centerListVertically, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mc, mouseX, mouseY, right, scrollMultiplier, selectedElement, showSelectionBox, slotHeight, top, visible, width
Constructor and Description |
---|
GuiSimpleScrolledSelectionListProxy(RealmsSimpleScrolledSelectionList realmsScrolledSelectionListIn,
int widthIn,
int heightIn,
int topIn,
int bottomIn,
int slotHeightIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawBackground() |
void |
drawScreen(int mouseXIn,
int mouseYIn,
float partialTicks) |
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) |
protected int |
getContentHeight() |
int |
getMouseX() |
int |
getMouseY() |
protected int |
getScrollBarX() |
protected int |
getSize() |
int |
getWidth() |
void |
handleMouseInput() |
protected boolean |
isSelected(int slotIndex) |
actionPerformed, bindAmountScrolled, clickedHeader, drawContainerBackground, drawListHeader, drawSelectionBox, getAmountScrolled, getEnabled, getListWidth, getMaxScroll, getSlotHeight, getSlotIndexFromScreenCoords, isMouseYWithinSlotBounds, overlayBackground, registerScrollButtons, renderDecorations, scrollBy, setDimensions, setEnabled, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeft, updateItemPos
public GuiSimpleScrolledSelectionListProxy(RealmsSimpleScrolledSelectionList realmsScrolledSelectionListIn, 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)
public int getWidth()
public int getMouseY()
public int getMouseX()
protected int getContentHeight()
getContentHeight
in class GuiSlot
protected int getScrollBarX()
getScrollBarX
in class GuiSlot
public void handleMouseInput()
handleMouseInput
in class GuiSlot
public void drawScreen(int mouseXIn, int mouseYIn, float partialTicks)
drawScreen
in class GuiSlot