public class GuiClickableScrolledSelectionListProxy extends GuiSlot
amountScrolled, bottom, field_148163_i, field_178041_q, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mc, mouseX, mouseY, right, scrollMultiplier, selectedElement, showSelectionBox, slotHeight, top, width
Constructor and Description |
---|
GuiClickableScrolledSelectionListProxy(RealmsClickableScrolledSelectionList selectionList,
int p_i45526_2_,
int p_i45526_3_,
int p_i45526_4_,
int p_i45526_5_,
int p_i45526_6_) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawBackground() |
protected void |
drawSelectionBox(int p_148120_1_,
int p_148120_2_,
int mouseXIn,
int mouseYIn)
Draws the selection box around the selected slot element.
|
protected void |
drawSlot(int entryID,
int p_180791_2_,
int p_180791_3_,
int p_180791_4_,
int mouseXIn,
int mouseYIn) |
protected void |
elementClicked(int slotIndex,
boolean isDoubleClick,
int mouseX,
int mouseY)
The element in the slot that was clicked, boolean for whether it was double clicked or not
|
int |
func_178042_f() |
void |
func_178043_a(int p_178043_1_,
int p_178043_2_,
int p_178043_3_,
Tezzelator p_178043_4_) |
int |
func_178044_e() |
int |
func_178045_g() |
protected int |
getContentHeight()
Return the height of the content being scrolled
|
protected int |
getScrollBarX() |
protected int |
getSize() |
void |
handleMouseInput() |
protected boolean |
isSelected(int slotIndex)
Returns true if the element passed in is currently selected
|
actionPerformed, bindAmountScrolled, drawContainerBackground, drawListHeader, drawScreen, func_148132_a, func_148135_f, func_148142_b, func_178040_a, getAmountScrolled, getEnabled, getListWidth, getSlotHeight, getSlotIndexFromScreenCoords, isMouseYWithinSlotBounds, overlayBackground, registerScrollButtons, scrollBy, setDimensions, setEnabled, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeft
public GuiClickableScrolledSelectionListProxy(RealmsClickableScrolledSelectionList selectionList, int p_i45526_2_, int p_i45526_3_, int p_i45526_4_, int p_i45526_5_, int p_i45526_6_)
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 p_180791_2_, int p_180791_3_, int p_180791_4_, int mouseXIn, int mouseYIn)
public int func_178044_e()
public int func_178042_f()
public int func_178045_g()
protected int getContentHeight()
getContentHeight
in class GuiSlot
protected int getScrollBarX()
getScrollBarX
in class GuiSlot
public void handleMouseInput()
handleMouseInput
in class GuiSlot
public void func_178043_a(int p_178043_1_, int p_178043_2_, int p_178043_3_, Tezzelator p_178043_4_)
protected void drawSelectionBox(int p_148120_1_, int p_148120_2_, int mouseXIn, int mouseYIn)
drawSelectionBox
in class GuiSlot