public class GuiClickableScrolledSelectionListProxy 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 |
---|
GuiClickableScrolledSelectionListProxy(RealmsClickableScrolledSelectionList selectionList,
int widthIn,
int heightIn,
int topIn,
int bottomIn,
int slotHeightIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawBackground() |
protected void |
drawSelectionBox(int insideLeft,
int insideTop,
int mouseXIn,
int mouseYIn) |
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() |
protected int |
getScrollBarX() |
protected int |
getSize() |
void |
handleMouseInput() |
protected boolean |
isSelected(int slotIndex) |
int |
mouseX() |
int |
mouseY() |
void |
renderSelected(int p_178043_1_,
int p_178043_2_,
int p_178043_3_,
Tezzelator p_178043_4_) |
int |
width() |
actionPerformed, bindAmountScrolled, clickedHeader, drawContainerBackground, drawListHeader, drawScreen, getAmountScrolled, getEnabled, getListWidth, getMaxScroll, getSlotHeight, getSlotIndexFromScreenCoords, isMouseYWithinSlotBounds, overlayBackground, registerScrollButtons, renderDecorations, scrollBy, setDimensions, setEnabled, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeft, updateItemPos
public GuiClickableScrolledSelectionListProxy(RealmsClickableScrolledSelectionList selectionList, 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 width()
public int mouseY()
public int mouseX()
protected int getContentHeight()
getContentHeight
in class GuiSlot
protected int getScrollBarX()
getScrollBarX
in class GuiSlot
public void handleMouseInput()
handleMouseInput
in class GuiSlot
public void renderSelected(int p_178043_1_, int p_178043_2_, int p_178043_3_, Tezzelator p_178043_4_)
protected void drawSelectionBox(int insideLeft, int insideTop, int mouseXIn, int mouseYIn)
drawSelectionBox
in class GuiSlot