@Environment(value=CLIENT) public class ProgressScreen extends Screen implements ProgressListener
Modifier and Type | Field and Description |
---|---|
private boolean |
done |
private int |
progress |
private Text |
task |
private Text |
title |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, width
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Constructor and Description |
---|
ProgressScreen() |
Modifier and Type | Method and Description |
---|---|
void |
method_15412(Text text) |
void |
method_15413(Text text) |
void |
method_15414(Text text) |
void |
progressStagePercentage(int int2) |
void |
render(MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
void |
setDone() |
boolean |
shouldCloseOnEsc()
Checks whether this screen should be closed when the escape key is pressed.
|
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onClose, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, tick, wrapScreenError
getFocused, isDragging, setDragging, setFocused
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
mouseMoved
public boolean shouldCloseOnEsc()
shouldCloseOnEsc
in class Screen
public void method_15412(Text text)
method_15412
in interface ProgressListener
public void method_15413(Text text)
method_15413
in interface ProgressListener
public void method_15414(Text text)
method_15414
in interface ProgressListener
public void progressStagePercentage(int int2)
progressStagePercentage
in interface ProgressListener
public void setDone()
setDone
in interface ProgressListener
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)