@Environment(value=CLIENT) public class DisconnectedRealmsScreen extends RealmsScreen
| Modifier and Type | Field and Description |
|---|---|
private List<Text> |
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(MatrixStack matrixStack,
int mouseY,
int int2,
float float2) |
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, drawVerticalLine, fill, fillGradient, getZOffset, method_27534, method_27535, 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 Screenpublic void render(MatrixStack matrixStack, int mouseY, int int2, float float2)