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