net.minecraft.client.gui.components

public class PopupScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fih
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
net.minecraft.src.C_301873_

Field summary

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

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
aE_()
added()
method_49589()
m_efvbcpbf()
onDisplayed()
onDisplayed()
m_274333_()
protected void
aM_()
init()
method_25426()
m_xaqeivsh()
init()
init()
m_7856_()
private LinearLayout
m()
buildButtonRow()
method_54124()
m_qvmvwqgc()
createButtonLayout()
addChoices()
m_306027_()
protected void
c()
repositionElements()
method_48640()
m_htvzhlss()
initTabNavigation()
repositionElements()
m_267719_()
public void
b(fgs 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)
m_280273_(C_279497_ p_312824_, int p_310533_, int p_313128_, float arg3)
public Component
i()
getNarrationMessage()
method_25435()
m_nvnfplud()
getNarratedTitle()
getNarratedTitle()
m_142562_()
public void
d()
onClose()
method_25419()
m_tevgoglb()
close()
closeScreen()
m_7379_()