@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<Text> |
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, onClose, removed, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, drawHorizontalLine, drawSprite, drawString, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, fill, fillGradient, getZOffset, method_27535, 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
public MultiplayerWarningScreen(Screen parent)
public String getNarrationMessage()
getNarrationMessage in class Screenpublic void render(MatrixStack matrices, int mouseX, int mouseY, float delta)