Package net.minecraft.src
Class GuiScreenLongRunningTask
java.lang.Object
net.minecraft.src.Gui
net.minecraft.src.GuiScreen
net.minecraft.src.GuiScreenLongRunningTask
-
Field Summary
FieldsFields inherited from class net.minecraft.src.GuiScreen
allowUserInput, buttonList, fontRenderer, height, mc, widthFields inherited from class net.minecraft.src.Gui
icons, optionsBackground, statIcons, zLevel -
Constructor Summary
ConstructorsConstructorDescriptionGuiScreenLongRunningTask(Minecraft par1Minecraft, GuiScreen par2GuiScreen, TaskLongRunning par3TaskLongRunning) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactionPerformed(GuiButton par1GuiButton) Fired when a control is clicked.voiddrawScreen(int par1, int par2, float par3) Draws the screen and all the components in it.voidvoidinitGui()Adds the buttons (and other controls) to the screen in question.protected voidkeyTyped(char par1, int par2) Fired when a key is typed.voidsetFailedMessage(String par1Str) voidsetMessage(String par1Str) voidCalled from the main game loop to update the screen.booleanReturns the value of screenWasClosedMethods inherited from class net.minecraft.src.GuiScreen
confirmClicked, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, mouseClicked, mouseClickMove, mouseMovedOrUp, onGuiClosed, setClipboardString, setWorldAndResolutionMethods inherited from class net.minecraft.src.Gui
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine
-
Field Details
-
PROGRESS_TEXT
-
-
Constructor Details
-
GuiScreenLongRunningTask
public GuiScreenLongRunningTask(Minecraft par1Minecraft, GuiScreen par2GuiScreen, TaskLongRunning par3TaskLongRunning)
-
-
Method Details
-
func_98117_g
public void func_98117_g() -
updateScreen
public void updateScreen()Called from the main game loop to update the screen.- Overrides:
updateScreenin classGuiScreen
-
keyTyped
protected void keyTyped(char par1, int par2) Fired when a key is typed. This is the equivalent of KeyListener.keyTyped(KeyEvent e). -
initGui
public void initGui()Adds the buttons (and other controls) to the screen in question. -
actionPerformed
Fired when a control is clicked. This is the equivalent of ActionListener.actionPerformed(ActionEvent e).- Overrides:
actionPerformedin classGuiScreen
-
drawScreen
public void drawScreen(int par1, int par2, float par3) Draws the screen and all the components in it.- Overrides:
drawScreenin classGuiScreen
-
setFailedMessage
-
func_96208_g
-
setMessage
-
wasScreenClosed
public boolean wasScreenClosed()Returns the value of screenWasClosed
-