public class LoadingScreenRenderer extends java.lang.Object implements IProgressUpdate
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
currentlyDisplayedText |
private Framebuffer |
framebuffer |
private boolean |
loadingSuccess |
private Minecraft |
mc |
private java.lang.String |
message |
private ScaledResolution |
scaledResolution |
private long |
systemTime |
Constructor and Description |
---|
LoadingScreenRenderer(Minecraft mcIn) |
Modifier and Type | Method and Description |
---|---|
void |
displayLoadingString(java.lang.String message) |
void |
displaySavingString(java.lang.String message) |
private void |
displayString(java.lang.String message) |
void |
resetProgressAndMessage(java.lang.String message) |
void |
setDoneWorking() |
void |
setLoadingProgress(int progress) |
private java.lang.String message
private final Minecraft mc
private java.lang.String currentlyDisplayedText
private long systemTime
private boolean loadingSuccess
private final ScaledResolution scaledResolution
private final Framebuffer framebuffer
public LoadingScreenRenderer(Minecraft mcIn)
public void resetProgressAndMessage(java.lang.String message)
resetProgressAndMessage
in interface IProgressUpdate
public void displaySavingString(java.lang.String message)
displaySavingString
in interface IProgressUpdate
private void displayString(java.lang.String message)
public void displayLoadingString(java.lang.String message)
displayLoadingString
in interface IProgressUpdate
public void setLoadingProgress(int progress)
setLoadingProgress
in interface IProgressUpdate
public void setDoneWorking()
setDoneWorking
in interface IProgressUpdate