@Environment(value=CLIENT) public class MultiplayerWarningScreen extends Screen
| Modifier and Type | Field and Description |
|---|---|
private CheckboxWidget |
checkbox |
private static Text |
checkMessage |
private static Text |
header |
private List<StringRenderable> |
lines |
private static Text |
message |
private Screen |
parent |
private static Text |
proceedText |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
MultiplayerWarningScreen(Screen parent) |
| Modifier and Type | Method and Description |
|---|---|
String |
getNarrationMessage() |
protected void |
init() |
void |
render(MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
addButton, addChild, children, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, method_29638, onClose, removed, renderBackground, renderBackground, renderBackgroundTexture, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusmouseMovedprivate static final Text header
private static final Text message
private static final Text checkMessage
private static final Text proceedText
private final Screen parent
private CheckboxWidget checkbox
private final List<StringRenderable> lines
public MultiplayerWarningScreen(Screen parent)
public String getNarrationMessage()
getNarrationMessage in class Screenpublic void render(MatrixStack matrices, int mouseX, int mouseY, float delta)