Class GuiHandshakeApprove
- java.lang.Object
-
- net.minecraft.client.gui.Gui
-
- net.minecraft.client.gui.GuiScreen
-
- net.lax1dude.eaglercraft.v1_8.socket.GuiHandshakeApprove
-
- All Implemented Interfaces:
GuiYesNoCallback
public class GuiHandshakeApprove 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.util.List<java.lang.String>
bodyLines
protected int
bodyY
protected java.lang.String
message
protected GuiScreen
no
protected java.lang.String
titleString
protected GuiScreen
yes
-
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 GuiHandshakeApprove(java.lang.String message, GuiScreen back)
GuiHandshakeApprove(java.lang.String message, GuiScreen no, GuiScreen yes)
-
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.void
drawScreen(int xx, int yy, float partialTicks)
+ Draws the screen and all the components in it.void
initGui()
+ Adds the buttons (and other controls) to the screen in question.-
Methods inherited from class net.minecraft.client.gui.GuiScreen
confirmClicked, doesGuiPauseGame, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawWorldBackground, getClipboardString, getCloseKey, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setText, setWorldAndResolution, updateScreen
-
Methods inherited from class net.minecraft.client.gui.Gui
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
-
-
-
-
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.
-
actionPerformed
protected void actionPerformed(GuiButton parGuiButton)
Description copied from class:GuiScreen
+ Called by the controls from the buttonList when activated. (Mouse pressed for buttons)- Overrides:
actionPerformed
in classGuiScreen
-
drawScreen
public void drawScreen(int xx, int yy, float partialTicks)
Description copied from class:GuiScreen
+ Draws the screen and all the components in it. Args : mouseX, mouseY, renderPartialTicks- Overrides:
drawScreen
in classGuiScreen
-
-