Class 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 Detail

      • screenTitle

        protected java.lang.String screenTitle
    • 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.
        Overrides:
        initGui in class GuiScreen
      • 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:
        drawScreen in class GuiScreen
      • handleMouseInput

        public void handleMouseInput()
                              throws java.io.IOException
        Description copied from class: GuiScreen
        + Handles mouse input.
        Overrides:
        handleMouseInput in class GuiScreen
        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:
        actionPerformed in class GuiScreen
      • updateScreen

        public void updateScreen()
        Description copied from class: GuiScreen
        + Called from the main game loop to update the screen.
        Overrides:
        updateScreen in class GuiScreen
      • onGuiClosed

        public void onGuiClosed()
        Description copied from class: GuiScreen
        + Called when the screen is unloaded. Used to disable keyboard repeat events
        Overrides:
        onGuiClosed in class GuiScreen
      • 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)
        Overrides:
        keyTyped in class GuiScreen
      • 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:
        mouseClicked in class GuiScreen
      • safeProfile

        protected void safeProfile()