YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.util.IProgressUpdate Interface Reference
Inheritance diagram for net.minecraft.util.IProgressUpdate:
net.minecraft.client.gui.GuiProgress net.minecraft.client.gui.LoadingScreenRenderer net.minecraft.server.ConvertingProgressUpdate

Public Member Functions

void displayProgressMessage (String s)
 
void resetProgressAndMessage (String s)
 
void resetProgresAndWorkingMessage (String s)
 
void setLoadingProgress (int i)
 
void onNoMoreProgress ()
 

Member Function Documentation

void net.minecraft.util.IProgressUpdate.displayProgressMessage ( String  s)
void net.minecraft.util.IProgressUpdate.onNoMoreProgress ( )

called when there is no more progress to be had, both on completion and failure

Implemented in net.minecraft.client.gui.LoadingScreenRenderer, net.minecraft.client.gui.GuiProgress, and net.minecraft.server.ConvertingProgressUpdate.

void net.minecraft.util.IProgressUpdate.resetProgresAndWorkingMessage ( String  s)

This is called with "Working..." by resetProgressAndMessage

Implemented in net.minecraft.client.gui.LoadingScreenRenderer, net.minecraft.server.ConvertingProgressUpdate, and net.minecraft.client.gui.GuiProgress.

void net.minecraft.util.IProgressUpdate.resetProgressAndMessage ( String  s)

this string, followed by "working..." and then the "% complete" are the 3 lines shown. This resets progress to 0, and the WorkingString to "working...".

Implemented in net.minecraft.server.ConvertingProgressUpdate, net.minecraft.client.gui.LoadingScreenRenderer, and net.minecraft.client.gui.GuiProgress.

void net.minecraft.util.IProgressUpdate.setLoadingProgress ( int  i)

Updates the progress bar on the loading screen to the specified amount. Args: loadProgress

Implemented in net.minecraft.client.gui.LoadingScreenRenderer, net.minecraft.client.gui.GuiProgress, and net.minecraft.server.ConvertingProgressUpdate.


The documentation for this interface was generated from the following file: