public class GuiAchievements extends GuiScreen implements IProgressMeter
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
ACHIEVEMENT_BACKGROUND |
private int |
field_146554_D |
protected int |
field_146555_f |
protected int |
field_146557_g |
private static int |
field_146559_A |
private static int |
field_146560_B |
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 |
private static int |
field_146571_z |
private static int |
field_146572_y |
protected double |
field_146573_x |
private boolean |
loadingAchievements |
protected GuiScreen |
parentScreen |
private StatFileWriter |
statFileWriter |
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, width
icons, optionsBackground, statIcons, zLevel
lanSearchStates
Constructor and Description |
---|
GuiAchievements(GuiScreen parentScreenIn,
StatFileWriter 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() |
private TextureAtlasSprite |
func_175371_a(Block p_175371_1_) |
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.
|
confirmClicked, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setText, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private static final int field_146572_y
private static final int field_146571_z
private static final int field_146559_A
private static final int field_146560_B
private static final ResourceLocation ACHIEVEMENT_BACKGROUND
protected GuiScreen parentScreen
protected int field_146555_f
protected int field_146557_g
protected int field_146563_h
protected int field_146564_i
protected float field_146570_r
protected double field_146569_s
protected double field_146568_t
protected double field_146567_u
protected double field_146566_v
protected double field_146565_w
protected double field_146573_x
private int field_146554_D
private StatFileWriter statFileWriter
private boolean loadingAchievements
public GuiAchievements(GuiScreen parentScreenIn, StatFileWriter statFileWriterIn)
public void initGui()
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed
in class GuiScreen
java.io.IOException
protected void keyTyped(char typedChar, int keyCode) throws java.io.IOException
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiScreen
public void doneLoading()
doneLoading
in interface IProgressMeter
public void updateScreen()
updateScreen
in class GuiScreen
protected void drawTitle()
protected void drawAchievementScreen(int p_146552_1_, int p_146552_2_, float p_146552_3_)
private TextureAtlasSprite func_175371_a(Block p_175371_1_)
public boolean doesGuiPauseGame()
doesGuiPauseGame
in class GuiScreen