Class GuiAchievements
- java.lang.Object
-
- net.minecraft.client.gui.Gui
-
- net.minecraft.client.gui.GuiScreen
-
- net.minecraft.client.gui.achievement.GuiAchievements
-
- All Implemented Interfaces:
GuiYesNoCallback
,IProgressMeter
public class GuiAchievements extends GuiScreen implements IProgressMeter
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Field Summary
Fields Modifier and Type Field Description protected int
field_146555_f
protected int
field_146557_g
protected int
field_146563_h
protected int
field_146564_i
protected double
field_146565_w
protected double
field_146566_v
protected double
field_146567_u
protected double
field_146568_t
protected double
field_146569_s
protected float
field_146570_r
protected double
field_146573_x
protected GuiScreen
parentScreen
-
Fields inherited from class net.minecraft.client.gui.GuiScreen
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, showingCloseKey, width
-
Fields inherited from class net.minecraft.client.gui.Gui
icons, optionsBackground, statIcons, zLevel
-
Fields inherited from interface net.minecraft.client.gui.IProgressMeter
lanSearchStates
-
-
Constructor Summary
Constructors Constructor Description GuiAchievements(GuiScreen parentScreenIn, StatFileWriter statFileWriterIn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
actionPerformed(GuiButton parGuiButton)
+ 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-playervoid
doneLoading()
protected void
drawAchievementScreen(int parInt1, int parInt2, float parFloat1)
void
drawScreen(int i, int j, float f)
+ Draws the screen and all the components in it.protected void
drawTitle()
protected int
getCloseKey()
void
initGui()
+ Adds the buttons (and other controls) to the screen in question.void
updateScreen()
+ Called from the main game loop to update the screen.-
Methods inherited from class net.minecraft.client.gui.GuiScreen
confirmClicked, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setText, setWorldAndResolution
-
Methods inherited from class net.minecraft.client.gui.Gui
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
-
-
-
-
Field Detail
-
parentScreen
protected GuiScreen parentScreen
-
field_146555_f
protected int field_146555_f
-
field_146557_g
protected int field_146557_g
-
field_146563_h
protected int field_146563_h
-
field_146564_i
protected int field_146564_i
-
field_146570_r
protected float field_146570_r
-
field_146569_s
protected double field_146569_s
-
field_146568_t
protected double field_146568_t
-
field_146567_u
protected double field_146567_u
-
field_146566_v
protected double field_146566_v
-
field_146565_w
protected double field_146565_w
-
field_146573_x
protected double field_146573_x
-
-
Constructor Detail
-
GuiAchievements
public GuiAchievements(GuiScreen parentScreenIn, StatFileWriter statFileWriterIn)
-
-
Method Detail
-
initGui
public void initGui()
+ Adds the buttons (and other controls) to the screen in question. Called when the GUI is displayed and when the window resizes, the buttonList is cleared beforehand.
-
actionPerformed
protected void actionPerformed(GuiButton parGuiButton)
+ Called by the controls from the buttonList when activated. (Mouse pressed for buttons)- Overrides:
actionPerformed
in classGuiScreen
-
getCloseKey
protected int getCloseKey()
- Overrides:
getCloseKey
in classGuiScreen
-
drawScreen
public void drawScreen(int i, int j, float f)
+ Draws the screen and all the components in it. Args : mouseX, mouseY, renderPartialTicks- Overrides:
drawScreen
in classGuiScreen
-
doneLoading
public void doneLoading()
- Specified by:
doneLoading
in interfaceIProgressMeter
-
updateScreen
public void updateScreen()
+ Called from the main game loop to update the screen.- Overrides:
updateScreen
in classGuiScreen
-
drawTitle
protected void drawTitle()
-
drawAchievementScreen
protected void drawAchievementScreen(int parInt1, int parInt2, float parFloat1)
-
doesGuiPauseGame
public boolean doesGuiPauseGame()
+ Returns true if this GUI should pause the game when it is displayed in single-player- Overrides:
doesGuiPauseGame
in classGuiScreen
-
-