public class GuiProgress extends GuiScreen implements IProgressUpdate
allowUserInput, guiParticles, height, isMacOs, width
Constructor and Description |
---|
GuiProgress() |
Modifier and Type | Method and Description |
---|---|
void |
displayProgressMessage(String par1Str)
"Saving level", or the loading,or downloading equivelent
|
void |
drawScreen(int par1,
int par2,
float par3)
Draws the screen and all the components in it.
|
void |
onNoMoreProgress()
called when there is no more progress to be had, both on completion and failure
|
void |
resetProgresAndWorkingMessage(String par1Str)
This is called with "Working..." by resetProgressAndMessage
|
void |
resetProgressAndMessage(String par1Str)
this string, followed by "working..." and then the "% complete" are the 3 lines shown.
|
void |
setLoadingProgress(int par1)
Updates the progress bar on the loading screen to the specified amount.
|
confirmClicked, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, initGui, isCtrlKeyDown, isShiftKeyDown, onGuiClosed, setClipboardString, setWorldAndResolution, updateScreen
drawCenteredString, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon
public void displayProgressMessage(String par1Str)
displayProgressMessage
in interface IProgressUpdate
public void resetProgressAndMessage(String par1Str)
resetProgressAndMessage
in interface IProgressUpdate
public void resetProgresAndWorkingMessage(String par1Str)
resetProgresAndWorkingMessage
in interface IProgressUpdate
public void setLoadingProgress(int par1)
setLoadingProgress
in interface IProgressUpdate
public void onNoMoreProgress()
onNoMoreProgress
in interface IProgressUpdate
public void drawScreen(int par1, int par2, float par3)
drawScreen
in class GuiScreen