abstract class GuiStats.Stats extends GuiSlot
Modifier and Type | Field and Description |
---|---|
protected int |
field_148215_p |
protected int |
field_148217_o |
protected int |
field_148218_l |
protected java.util.List<StatCrafting> |
statsHolder |
protected java.util.Comparator<StatCrafting> |
statSorter |
amountScrolled, bottom, field_148163_i, field_178041_q, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mc, mouseX, mouseY, right, scrollMultiplier, selectedElement, showSelectionBox, slotHeight, top, width
Modifier | Constructor and Description |
---|---|
protected |
Stats(Minecraft mcIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawBackground() |
protected void |
drawListHeader(int p_148129_1_,
int p_148129_2_,
Tessellator p_148129_3_)
Handles drawing a list's header row.
|
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
|
protected void |
func_148132_a(int p_148132_1_,
int p_148132_2_) |
protected void |
func_148142_b(int p_148142_1_,
int p_148142_2_) |
protected void |
func_148209_a(StatBase p_148209_1_,
int p_148209_2_,
int p_148209_3_,
boolean p_148209_4_) |
protected abstract java.lang.String |
func_148210_b(int p_148210_1_) |
protected StatCrafting |
func_148211_c(int p_148211_1_) |
protected void |
func_148212_h(int p_148212_1_) |
protected void |
func_148213_a(StatCrafting p_148213_1_,
int p_148213_2_,
int p_148213_3_) |
protected int |
getSize() |
protected boolean |
isSelected(int slotIndex)
Returns true if the element passed in is currently selected
|
actionPerformed, bindAmountScrolled, drawScreen, drawSelectionBox, drawSlot, func_148135_f, func_178040_a, getAmountScrolled, getContentHeight, getEnabled, getListWidth, getScrollBarX, getSlotHeight, getSlotIndexFromScreenCoords, handleMouseInput, isMouseYWithinSlotBounds, overlayBackground, registerScrollButtons, scrollBy, setDimensions, setEnabled, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeft
protected int field_148218_l
protected java.util.List<StatCrafting> statsHolder
protected java.util.Comparator<StatCrafting> statSorter
protected int field_148217_o
protected int field_148215_p
protected Stats(Minecraft mcIn)
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
protected void drawListHeader(int p_148129_1_, int p_148129_2_, Tessellator p_148129_3_)
GuiSlot
drawListHeader
in class GuiSlot
protected void func_148132_a(int p_148132_1_, int p_148132_2_)
func_148132_a
in class GuiSlot
protected final StatCrafting func_148211_c(int p_148211_1_)
protected abstract java.lang.String func_148210_b(int p_148210_1_)
protected void func_148209_a(StatBase p_148209_1_, int p_148209_2_, int p_148209_3_, boolean p_148209_4_)
protected void func_148142_b(int p_148142_1_, int p_148142_2_)
func_148142_b
in class GuiSlot
protected void func_148213_a(StatCrafting p_148213_1_, int p_148213_2_, int p_148213_3_)
protected void func_148212_h(int p_148212_1_)