@Environment(value=CLIENT) public class RealmsLongRunningMcoTaskScreen extends RealmsScreen implements Errable
| Modifier and Type | Field and Description |
|---|---|
private boolean |
aborted |
private int |
animTicks |
private int |
buttonLength |
private boolean |
error |
private Text |
errorMessage |
private static Logger |
LOGGER |
private Screen |
parent |
static String[] |
symbols |
private LongRunningTask |
task |
private String |
title |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, widthBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
RealmsLongRunningMcoTaskScreen(Screen parent,
LongRunningTask task) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
aborted() |
private void |
cancelOrBackButtonClicked() |
void |
error(Text text) |
void |
init() |
boolean |
keyPressed(int keyCode,
int scanCode,
int modifiers) |
void |
onError() |
void |
render(MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
void |
setTitle(String title) |
void |
tick() |
narrateLabels, rowaddButton, addChild, children, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, method_29638, onClose, removed, renderBackground, renderBackground, renderBackgroundTexture, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusmouseMovedprivate static final Logger LOGGER
public static final String[] symbols
private final Screen parent
private volatile String title
private volatile boolean error
private volatile Text errorMessage
private volatile boolean aborted
private int animTicks
private final LongRunningTask task
private final int buttonLength
public RealmsLongRunningMcoTaskScreen(Screen parent, LongRunningTask task)
public void tick()
tick in interface TickableElementtick in class RealmsScreenpublic boolean keyPressed(int keyCode,
int scanCode,
int modifiers)
keyPressed in interface ElementkeyPressed in interface ParentElementkeyPressed in class Screenprivate void cancelOrBackButtonClicked()
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
public void onError()
public void setTitle(String title)
public boolean aborted()