public class WorkingScreen extends Screen implements IProgressUpdate
Modifier and Type | Field and Description |
---|---|
private boolean |
doneWorking |
private int |
progress |
private java.lang.String |
stage |
private java.lang.String |
title |
buttons, children, font, height, itemRenderer, minecraft, passEvents, width
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
WorkingScreen() |
Modifier and Type | Method and Description |
---|---|
void |
displayLoadingString(ITextComponent component) |
void |
displaySavingString(ITextComponent component) |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
void |
resetProgressAndMessage(ITextComponent component) |
void |
setDoneWorking() |
void |
setLoadingProgress(int progress) |
boolean |
shouldCloseOnEsc() |
addButton, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onClose, removed, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setSize, tick, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, func_212932_b, getEventListenerForPos, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocusedDefault
mouseMoved
private java.lang.String title
private java.lang.String stage
private int progress
private boolean doneWorking
public boolean shouldCloseOnEsc()
shouldCloseOnEsc
in class Screen
public void displaySavingString(ITextComponent component)
displaySavingString
in interface IProgressUpdate
public void resetProgressAndMessage(ITextComponent component)
resetProgressAndMessage
in interface IProgressUpdate
public void displayLoadingString(ITextComponent component)
displayLoadingString
in interface IProgressUpdate
public void setLoadingProgress(int progress)
setLoadingProgress
in interface IProgressUpdate
public void setDoneWorking()
setDoneWorking
in interface IProgressUpdate
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
in interface IRenderable
render
in class Screen