net.minecraft.client.gui.screen

public class NoticeScreen

extends Screen

All mapped superinterfaces:

ParentElement, Element, Navigable, Drawable

net.minecraft.client.gui.screens.AlertScreen
net.minecraft.class_403
net.minecraft.client.gui.screen.NoticeScreen

Field summary

Modifier and TypeField
private static final int
LABEL_Y
field_39539
NOTICE_TEXT_Y
private final Text
messageText
field_2346
notice
private MultilineText
message
field_2348
noticeLines
private final Runnable
callback
field_2345
actionHandler
private final Text
okButton
field_2349
buttonText
private final boolean
shouldCloseOnEsc
field_39540
shouldCloseOnEsc

Constructor summary

ModifierConstructor
public (Runnable actionHandler, Text title, Text notice)
public (Runnable actionHandler, Text title, Text notice, Text buttonText, boolean shouldCloseOnEsc)

Method summary

Modifier and TypeMethod
public Text
getNarrationMessage()
method_25435()
getNarratedTitle()
protected void
init()
method_25426()
init()
public void
extractRenderState(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
public boolean
shouldCloseOnEsc()
method_25422()
shouldCloseOnEsc()
private void
lambda$init$0(Button arg0)
method_19790(class_4185 arg0)
method_19790(ButtonWidget button)