net.minecraft.client.gui.screens

public class AlertScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fsr
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
a
LABEL_Y
field_39539
NOTICE_TEXT_Y
private final Component
b
messageText
field_2346
notice
private MultiLineLabel
c
message
field_2348
noticeLines
private final Runnable
d
callback
field_2345
actionHandler
private final Component
s
okButton
field_2349
buttonText
private final boolean
u
shouldCloseOnEsc
field_39540
shouldCloseOnEsc

Constructor summary

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

Method summary

Modifier and TypeMethod
public Component
i()
getNarrationMessage()
method_25435()
getNarratedTitle()
protected void
aT_()
init()
method_25426()
init()
public void
a(fns arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
public boolean
aH_()
shouldCloseOnEsc()
method_25422()
shouldCloseOnEsc()