@Environment(value=CLIENT) public class DisconnectedRealmsScreen extends RealmsScreen
| Modifier and Type | Field and Description |
|---|---|
private List<String> |
lines |
private Screen |
parent |
private Text |
reason |
private int |
textHeight |
private String |
title |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, widthBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
DisconnectedRealmsScreen(Screen parent,
String titleTranslationKey,
Text reason) |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
boolean |
keyPressed(int keyCode,
int scanCode,
int modifiers) |
void |
render(int mouseX,
int mouseY,
float delta) |
narrateLabels, row, tickaddButton, addChild, children, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, onClose, removed, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, 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 String title
private final Text reason
private final Screen parent
private int textHeight
public boolean keyPressed(int keyCode,
int scanCode,
int modifiers)
keyPressed in interface ElementkeyPressed in interface ParentElementkeyPressed in class Screen