@Environment(value=CLIENT) public class RealmsLongConfirmationScreen extends RealmsScreen
Modifier and Type | Class and Description |
---|---|
static class |
RealmsLongConfirmationScreen.Type |
Modifier and Type | Field and Description |
---|---|
protected it.unimi.dsi.fastutil.booleans.BooleanConsumer |
field_22697 |
private String |
line2 |
private String |
line3 |
protected String |
noButton |
private String |
okButton |
private RealmsLongConfirmationScreen.Type |
type |
protected String |
yesButton |
private boolean |
yesNoQuestion |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
BACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE
Constructor and Description |
---|
RealmsLongConfirmationScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer booleanConsumer,
RealmsLongConfirmationScreen.Type type,
String line2,
String line3,
boolean yesNoQuestion) |
Modifier and Type | Method and Description |
---|---|
void |
init() |
boolean |
keyPressed(int keyCode,
int scanCode,
int modifiers) |
void |
render(int mouseX,
int mouseY,
float delta) |
narrateLabels, row, tick
addButton, addChild, children, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, onClose, removed, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenError
getFocused, isDragging, setDragging, setFocused
drawCenteredString, drawHorizontalLine, drawSprite, drawString, drawTexture, drawTexture, drawTexture, drawTexture, drawTexturedQuad, drawVerticalLine, fill, fill, fillGradient, getZOffset, 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 RealmsLongConfirmationScreen.Type type
private final String line2
private final String line3
protected final it.unimi.dsi.fastutil.booleans.BooleanConsumer field_22697
protected final String yesButton
protected final String noButton
private final String okButton
private final boolean yesNoQuestion
public RealmsLongConfirmationScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer booleanConsumer, RealmsLongConfirmationScreen.Type type, String line2, String line3, boolean yesNoQuestion)
public boolean keyPressed(int keyCode, int scanCode, int modifiers)
keyPressed
in interface Element
keyPressed
in interface ParentElement
keyPressed
in class Screen