net.minecraft.client.gui.components

public class PopupScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

ftl
net.minecraft.client.gui.components.PopupScreen
net.minecraft.class_8816
net.minecraft.unmapped.C_pzklyvtm
net.minecraft.client.gui.screen.PopupScreen
net.minecraft.client.gui.screen.DialogScreen

Field summary

Modifier and TypeField
private static final ResourceLocation
a
BACKGROUND_SPRITE
field_46554
f_yclrhpug
BACKGROUND_TEXTURE
BACKGROUND
private static final int
b
SPACING
field_46555
f_oexmzuqu
VERTICAL_SPACING
VERTICAL_SPACING
private static final int
c
BG_BORDER_WITH_SPACING
field_46556
f_hulwidwm
MARGIN_WIDTH
MARGIN_WIDTH
private static final int
d
BUTTON_SPACING
field_46557
f_pwiiqmdg
BUTTON_HORIZONTAL_SPACING
BUTTON_HORIZONTAL_SPACING
private static final int
s
IMAGE_SIZE_X
field_46558
f_qpztpcrz
IMAGE_WIDTH
IMAGE_WIDTH
private static final int
u
IMAGE_SIZE_Y
field_46559
f_nxrehbtf
IMAGE_HEIGHT
IMAGE_HEIGHT
private static final int
v
POPUP_DEFAULT_WIDTH
field_46560
f_qfmxurky
DEFAULT_WIDTH
DEFAULT_WIDTH
private final Screen
w
backgroundScreen
field_46561
f_cbtsquqt
backgroundScreen
parent
private final ResourceLocation
x
image
field_46562
f_bhwxpmuk
image
image
private final Component
y
message
field_46563
f_kgbsaitn
message
message
private final List<PopupScreen$ButtonOption>
z
buttons
field_46564
f_uyajsnrs
buttons
choices
private final Runnable
A
onClose
field_46565
f_ixjcprqg
onClosed
onClosed
private final int
B
contentWidth
field_46566
f_wmxboasw
innerWidth
maxWidth
private final LinearLayout
C
layout
field_46567
f_idfberlq
layout
layout

Constructor summary

ModifierConstructor
(Screen backgroundScreen, int width, ResourceLocation image, Component title, Component message, List<PopupScreen$ButtonOption> buttons, Runnable onClosed)

Method summary

Modifier and TypeMethod
public void
aG_()
added()
method_49589()
m_efvbcpbf()
onDisplayed()
onDisplayed()
protected void
aO_()
init()
method_25426()
m_xaqeivsh()
init()
init()
private LinearLayout
m()
buildButtonRow()
method_54124()
m_qvmvwqgc()
createButtonLayout()
addChoices()
protected void
c()
repositionElements()
method_48640()
m_htvzhlss()
refreshWidgetPositions()
repositionElements()
public void
b(frv arg0, int arg1, int arg2, float arg3)
renderBackground(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25420(class_332 arg0, int arg1, int arg2, float arg3)
m_qfxudleh(C_sedilmty arg0, int arg1, int arg2, float arg3)
renderBackground(DrawContext arg0, int arg1, int arg2, float arg3)
renderBackground(GuiGraphics arg0, int arg1, int arg2, float arg3)
public Component
i()
getNarrationMessage()
method_25435()
m_nvnfplud()
getNarratedTitle()
getNarratedTitle()
public void
aL_()
onClose()
method_25419()
m_tevgoglb()
close()
closeScreen()