@Environment(value=CLIENT) public class DisconnectedScreen extends Screen
| Modifier and Type | Field and Description |
|---|---|
private Screen |
parent |
private Text |
reason |
private List<String> |
reasonFormatted |
private int |
reasonHeight |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
DisconnectedScreen(Screen parent,
String title,
Text reason) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
init() |
void |
render(int mouseX,
int mouseY,
float delta) |
boolean |
shouldCloseOnEsc() |
addButton, addChild, children, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onClose, removed, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, tick, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, drawHorizontalLine, drawSprite, drawString, drawTexture, drawTexture, drawTexture, drawTexture, drawTexturedQuad, drawVerticalLine, fill, fill, fillGradient, getZOffset, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusmouseMovedprivate final Text reason
private final Screen parent
private int reasonHeight
public boolean shouldCloseOnEsc()
shouldCloseOnEsc in class Screen