@Environment(value=CLIENT) public class DisconnectedRealmsScreen extends RealmsScreen
Modifier and Type | Field and Description |
---|---|
private class_5489 |
lines |
private Screen |
parent |
private Text |
reason |
private int |
textHeight |
private Text |
title |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, width
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Constructor and Description |
---|
DisconnectedRealmsScreen(Screen parent,
Text text,
Text reason) |
Modifier and Type | Method and Description |
---|---|
void |
init()
Called when a screen should be initialized.
|
void |
onClose() |
void |
render(MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
narrateLabels, row, tick
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, 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
private final Text title
private final Text reason
private class_5489 lines
private final Screen parent
private int textHeight
public void init()
This method is called when this screen is opened
or resized.
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)