@Environment(value=CLIENT) public class GraphicsConfirmationScreen extends Screen
| Modifier and Type | Class and Description |
|---|---|
static class |
GraphicsConfirmationScreen.ChoiceButton |
| Modifier and Type | Field and Description |
|---|---|
private ImmutableList<GraphicsConfirmationScreen.ChoiceButton> |
choiceButtons |
private int |
field_25678 |
private int |
field_25679 |
private List<StringRenderable> |
lines |
private StringRenderable |
message |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Modifier | Constructor and Description |
|---|---|
protected |
GraphicsConfirmationScreen(Text title,
List<StringRenderable> messageParts,
ImmutableList<GraphicsConfirmationScreen.ChoiceButton> choiceButtons) |
| Modifier and Type | Method and Description |
|---|---|
String |
getNarrationMessage() |
void |
init(MinecraftClient client,
int width,
int height) |
void |
render(MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
boolean |
shouldCloseOnEsc() |
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, 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 final StringRenderable message
private final ImmutableList<GraphicsConfirmationScreen.ChoiceButton> choiceButtons
private List<StringRenderable> lines
private int field_25678
private int field_25679
protected GraphicsConfirmationScreen(Text title, List<StringRenderable> messageParts, ImmutableList<GraphicsConfirmationScreen.ChoiceButton> choiceButtons)
public String getNarrationMessage()
getNarrationMessage in class Screenpublic void init(MinecraftClient client, int width, int height)
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
public boolean shouldCloseOnEsc()
shouldCloseOnEsc in class Screen