abstract class GuiStats.Stats extends GuiSlot
| Modifier and Type | Field and Description |
|---|---|
protected int |
headerPressed |
protected int |
sortColumn |
protected int |
sortOrder |
protected java.util.List<StatCrafting> |
statsHolder |
protected java.util.Comparator<StatCrafting> |
statSorter |
amountScrolled, bottom, centerListVertically, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mc, mouseX, mouseY, right, scrollMultiplier, selectedElement, showSelectionBox, slotHeight, top, visible, width| Modifier | Constructor and Description |
|---|---|
protected |
Stats(Minecraft p_i47550_2_) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clickedHeader(int p_148132_1_,
int p_148132_2_) |
protected void |
drawBackground() |
protected void |
drawListHeader(int insideLeft,
int insideTop,
Tessellator tessellatorIn) |
protected void |
elementClicked(int slotIndex,
boolean isDoubleClick,
int mouseX,
int mouseY) |
protected abstract java.lang.String |
getHeaderDescriptionId(int p_148210_1_) |
int |
getListWidth() |
protected int |
getScrollBarX() |
protected int |
getSize() |
protected StatCrafting |
getSlotStat(int p_148211_1_) |
protected boolean |
isSelected(int slotIndex) |
protected void |
renderDecorations(int mouseXIn,
int mouseYIn) |
protected void |
renderMouseHoverToolTip(StatCrafting p_148213_1_,
int p_148213_2_,
int p_148213_3_) |
protected void |
renderStat(StatBase p_148209_1_,
int p_148209_2_,
int p_148209_3_,
boolean p_148209_4_) |
protected void |
sortByColumn(int p_148212_1_) |
actionPerformed, bindAmountScrolled, drawContainerBackground, drawScreen, drawSelectionBox, drawSlot, getAmountScrolled, getContentHeight, getEnabled, getMaxScroll, getSlotHeight, getSlotIndexFromScreenCoords, handleMouseInput, isMouseYWithinSlotBounds, overlayBackground, registerScrollButtons, scrollBy, setDimensions, setEnabled, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeft, updateItemPosprotected int headerPressed
protected java.util.List<StatCrafting> statsHolder
protected java.util.Comparator<StatCrafting> statSorter
protected int sortColumn
protected int sortOrder
protected Stats(Minecraft p_i47550_2_)
protected void elementClicked(int slotIndex,
boolean isDoubleClick,
int mouseX,
int mouseY)
elementClicked in class GuiSlotprotected boolean isSelected(int slotIndex)
isSelected in class GuiSlotpublic int getListWidth()
getListWidth in class GuiSlotprotected int getScrollBarX()
getScrollBarX in class GuiSlotprotected void drawBackground()
drawBackground in class GuiSlotprotected void drawListHeader(int insideLeft,
int insideTop,
Tessellator tessellatorIn)
drawListHeader in class GuiSlotprotected void clickedHeader(int p_148132_1_,
int p_148132_2_)
clickedHeader in class GuiSlotprotected final StatCrafting getSlotStat(int p_148211_1_)
protected abstract java.lang.String getHeaderDescriptionId(int p_148210_1_)
protected void renderStat(StatBase p_148209_1_, int p_148209_2_, int p_148209_3_, boolean p_148209_4_)
protected void renderDecorations(int mouseXIn,
int mouseYIn)
renderDecorations in class GuiSlotprotected void renderMouseHoverToolTip(StatCrafting p_148213_1_, int p_148213_2_, int p_148213_3_)
protected void sortByColumn(int p_148212_1_)