public class GuiStats extends GuiScreen implements IProgressMeter
Modifier and Type | Class and Description |
---|---|
(package private) class |
GuiStats.Stats |
(package private) class |
GuiStats.StatsBlock |
(package private) class |
GuiStats.StatsGeneral |
(package private) class |
GuiStats.StatsItem |
(package private) class |
GuiStats.StatsMobsList |
Modifier and Type | Field and Description |
---|---|
private GuiStats.StatsBlock |
blockStats |
private GuiSlot |
displaySlot |
private boolean |
doesGuiPauseGame |
private GuiStats.StatsGeneral |
generalStats |
private GuiStats.StatsItem |
itemStats |
private GuiStats.StatsMobsList |
mobStats |
protected GuiScreen |
parentScreen |
protected java.lang.String |
screenTitle |
private StatisticsManager |
stats |
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
LOADING_STRINGS
Constructor and Description |
---|
GuiStats(GuiScreen parent,
StatisticsManager manager) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton button) |
boolean |
doesGuiPauseGame() |
private void |
drawButtonBackground(int x,
int y) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
private void |
drawSprite(int x,
int y,
int u,
int v) |
private void |
drawStatsScreen(int x,
int y,
Item itemIn) |
void |
handleMouseInput() |
void |
initButtons() |
void |
initGui() |
void |
initLists() |
void |
onStatsUpdated() |
addButton, confirmClicked, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolution, updateScreen
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
protected GuiScreen parentScreen
protected java.lang.String screenTitle
private GuiStats.StatsGeneral generalStats
private GuiStats.StatsItem itemStats
private GuiStats.StatsBlock blockStats
private GuiStats.StatsMobsList mobStats
private final StatisticsManager stats
private GuiSlot displaySlot
private boolean doesGuiPauseGame
public GuiStats(GuiScreen parent, StatisticsManager manager)
public void handleMouseInput() throws java.io.IOException
handleMouseInput
in class GuiScreen
java.io.IOException
public void initLists()
public void initButtons()
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed
in class GuiScreen
java.io.IOException
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiScreen
public void onStatsUpdated()
onStatsUpdated
in interface IProgressMeter
public boolean doesGuiPauseGame()
doesGuiPauseGame
in class GuiScreen
private void drawStatsScreen(int x, int y, Item itemIn)
private void drawButtonBackground(int x, int y)
private void drawSprite(int x, int y, int u, int v)