Class GuiScreenEditProfile
- java.lang.Object
-
- net.minecraft.client.gui.Gui
-
- net.minecraft.client.gui.GuiScreen
-
- net.lax1dude.eaglercraft.v1_8.profile.GuiScreenEditProfile
-
- All Implemented Interfaces:
GuiYesNoCallback
public class GuiScreenEditProfile extends GuiScreen
Copyright (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 java.lang.StringscreenTitle-
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
-
-
Constructor Summary
Constructors Constructor Description GuiScreenEditProfile(GuiScreen parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactionPerformed(GuiButton par1GuiButton)+ Called by the controls from the buttonList when activated.voiddrawScreen(int mx, int my, float partialTicks)+ Draws the screen and all the components in it.voidhandleMouseInput()+ Handles mouse input.voidinitGui()+ Adds the buttons (and other controls) to the screen in question.protected voidkeyTyped(char c, int k)+ Fired when a key is typed (except F11 which toggles full screen).protected voidmouseClicked(int mx, int my, int button)+ Called when the mouse is clicked.voidonGuiClosed()+ Called when the screen is unloaded.protected voidsafeProfile()voidupdateScreen()+ Called from the main game loop to update the screen.-
Methods inherited from class net.minecraft.client.gui.GuiScreen
confirmClicked, doesGuiPauseGame, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawWorldBackground, getClipboardString, getCloseKey, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClickMove, mouseReleased, 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
-
-
-
-
Constructor Detail
-
GuiScreenEditProfile
public GuiScreenEditProfile(GuiScreen parent)
-
-
Method Detail
-
initGui
public void initGui()
Description copied from class:GuiScreen+ 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.
-
drawScreen
public void drawScreen(int mx, int my, float partialTicks)Description copied from class:GuiScreen+ Draws the screen and all the components in it. Args : mouseX, mouseY, renderPartialTicks- Overrides:
drawScreenin classGuiScreen
-
handleMouseInput
public void handleMouseInput() throws java.io.IOExceptionDescription copied from class:GuiScreen+ Handles mouse input.- Overrides:
handleMouseInputin classGuiScreen- Throws:
java.io.IOException
-
actionPerformed
protected void actionPerformed(GuiButton par1GuiButton)
Description copied from class:GuiScreen+ Called by the controls from the buttonList when activated. (Mouse pressed for buttons)- Overrides:
actionPerformedin classGuiScreen
-
updateScreen
public void updateScreen()
Description copied from class:GuiScreen+ Called from the main game loop to update the screen.- Overrides:
updateScreenin classGuiScreen
-
onGuiClosed
public void onGuiClosed()
Description copied from class:GuiScreen+ Called when the screen is unloaded. Used to disable keyboard repeat events- Overrides:
onGuiClosedin classGuiScreen
-
keyTyped
protected void keyTyped(char c, int k)Description copied from class:GuiScreen+ Fired when a key is typed (except F11 which toggles full screen). This is the equivalent of KeyListener.keyTyped(KeyEvent e). Args : character (character on the key), keyCode (lwjgl Keyboard key code)
-
mouseClicked
protected void mouseClicked(int mx, int my, int button)Description copied from class:GuiScreen+ Called when the mouse is clicked. Args : mouseX, mouseY, clickedButton- Overrides:
mouseClickedin classGuiScreen
-
safeProfile
protected void safeProfile()
-
-