public class GuiAchievements extends GuiScreen implements IProgressMeter
| Modifier and Type | Field and Description |
|---|---|
protected int |
imageHeight |
protected int |
imageWidth |
protected GuiScreen |
parentScreen |
protected int |
xLastScroll |
protected double |
xScrollO |
protected double |
xScrollP |
protected double |
xScrollTarget |
protected int |
yLastScroll |
protected double |
yScrollO |
protected double |
yScrollP |
protected double |
yScrollTarget |
protected float |
zoom |
allowUserInput, buttonList, fontRendererObj, height, itemRender, keyHandled, labelList, mc, mouseHandled, widthICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevelLOADING_STRINGS| Constructor and Description |
|---|
GuiAchievements(GuiScreen parentScreenIn,
StatisticsManager statFileWriterIn) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(GuiButton button)
Called by the controls from the buttonList when activated.
|
boolean |
doesGuiPauseGame()
Returns true if this GUI should pause the game when it is displayed in single-player
|
void |
doneLoading() |
protected void |
drawAchievementScreen(int p_146552_1_,
int p_146552_2_,
float p_146552_3_) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks)
Draws the screen and all the components in it.
|
protected void |
drawTitle() |
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
protected void |
keyTyped(char typedChar,
int keyCode)
Fired when a key is typed (except F11 which toggles full screen).
|
void |
updateScreen()
Called from the main game loop to update the screen.
|
addButton, confirmClicked, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setGuiSize, setText, setWorldAndResolutiondrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineprotected GuiScreen parentScreen
protected int imageWidth
protected int imageHeight
protected int xLastScroll
protected int yLastScroll
protected float zoom
protected double xScrollO
protected double yScrollO
protected double xScrollP
protected double yScrollP
protected double xScrollTarget
protected double yScrollTarget
public GuiAchievements(GuiScreen parentScreenIn, StatisticsManager statFileWriterIn)
public void initGui()
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed in class GuiScreenjava.io.IOExceptionprotected void keyTyped(char typedChar,
int keyCode)
throws java.io.IOException
public void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class GuiScreenpublic void doneLoading()
doneLoading in interface IProgressMeterpublic void updateScreen()
updateScreen in class GuiScreenprotected void drawTitle()
protected void drawAchievementScreen(int p_146552_1_,
int p_146552_2_,
float p_146552_3_)
public boolean doesGuiPauseGame()
doesGuiPauseGame in class GuiScreen