public class DisconnectedRealmsScreen extends RealmsScreen
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.String> |
lines |
private RealmsScreen |
parent |
private ITextComponent |
reason |
private int |
textHeight |
private java.lang.String |
title |
height, SKIN_HAT_HEIGHT, SKIN_HAT_U, SKIN_HAT_V, SKIN_HAT_WIDTH, SKIN_HEAD_HEIGHT, SKIN_HEAD_U, SKIN_HEAD_V, SKIN_HEAD_WIDTH, SKIN_TEX_HEIGHT, SKIN_TEX_WIDTH, width
Constructor and Description |
---|
DisconnectedRealmsScreen(RealmsScreen parentIn,
java.lang.String unlocalizedTitle,
ITextComponent reasonIn) |
Modifier and Type | Method and Description |
---|---|
void |
init() |
boolean |
keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_) |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
addWidget, bind, blit, blit, blit, buttons, buttonsAdd, buttonsClear, childrenClear, confirmResult, draw, drawCenteredString, drawString, drawString, fillGradient, focusOn, fontDrawShadow, fontLineHeight, fontSplit, fontWidth, getLevelStorageSource, getLocalizedString, getLocalizedString, getLocalizedStringWithLineWidth, getProxy, hasWidget, height, init, isFocused, isKeyDown, isPauseScreen, narrateLabels, newEditBox, newEditBox, removeButton, removed, removeWidget, renderBackground, renderBackground, renderTooltip, renderTooltip, renderTooltip, setKeyboardHandlerSendRepeatsToGui, tick, tickButtons, width
charTyped, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled
private final java.lang.String title
private final ITextComponent reason
private java.util.List<java.lang.String> lines
private final RealmsScreen parent
private int textHeight
public DisconnectedRealmsScreen(RealmsScreen parentIn, java.lang.String unlocalizedTitle, ITextComponent reasonIn)
public void init()
init
in class RealmsScreen
public boolean keyPressed(int p_keyPressed_1_, int p_keyPressed_2_, int p_keyPressed_3_)
keyPressed
in class RealmsGuiEventListener
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
in class RealmsScreen