class GuiFlatPresets.ListSlot extends GuiSlot
Modifier and Type | Field and Description |
---|---|
int |
field_148175_k |
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 |
---|
ListSlot() |
Modifier and Type | Method and Description |
---|---|
protected void |
drawBackground() |
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
|
private void |
func_148171_c(int p_148171_1_,
int p_148171_2_,
int p_148171_3_,
int p_148171_4_) |
private void |
func_148173_e(int p_148173_1_,
int p_148173_2_) |
private void |
func_178054_a(int p_178054_1_,
int p_178054_2_,
Item p_178054_3_,
int p_178054_4_) |
protected int |
getSize() |
protected boolean |
isSelected(int slotIndex)
Returns true if the element passed in is currently selected
|
actionPerformed, bindAmountScrolled, drawListHeader, drawScreen, drawSelectionBox, func_148132_a, func_148135_f, func_148142_b, func_178040_a, getAmountScrolled, getContentHeight, getEnabled, getListWidth, getScrollBarX, getSlotHeight, getSlotIndexFromScreenCoords, handleMouseInput, isMouseYWithinSlotBounds, overlayBackground, registerScrollButtons, scrollBy, setDimensions, setEnabled, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeft
private void func_178054_a(int p_178054_1_, int p_178054_2_, Item p_178054_3_, int p_178054_4_)
private void func_148173_e(int p_148173_1_, int p_148173_2_)
private void func_148171_c(int p_148171_1_, int p_148171_2_, int p_148171_3_, int p_148171_4_)
protected void elementClicked(int slotIndex, boolean isDoubleClick, int mouseX, int mouseY)
GuiSlot
elementClicked
in class GuiSlot
protected boolean isSelected(int slotIndex)
GuiSlot
isSelected
in class GuiSlot
protected void drawBackground()
drawBackground
in class GuiSlot