net.minecraft.client.gui.components

public class PopupScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fjo
net.minecraft.client.gui.components.PopupScreen
net.minecraft.class_8816
net.minecraft.client.gui.screen.PopupScreen
net.minecraft.src.C_301873_

Field summary

Modifier and TypeField
private static final ResourceLocation
a
BACKGROUND_SPRITE
field_46554
BACKGROUND_TEXTURE
f_302308_
private static final int
b
SPACING
field_46555
VERTICAL_SPACING
f_303098_
private static final int
c
BG_BORDER_WITH_SPACING
field_46556
MARGIN_WIDTH
f_303750_
private static final int
r
BUTTON_SPACING
field_46557
BUTTON_HORIZONTAL_SPACING
f_303197_
private static final int
s
IMAGE_SIZE_X
field_46558
IMAGE_WIDTH
f_302379_
private static final int
u
IMAGE_SIZE_Y
field_46559
IMAGE_HEIGHT
f_303011_
private static final int
v
POPUP_DEFAULT_WIDTH
field_46560
DEFAULT_WIDTH
f_302717_
private final Screen
w
backgroundScreen
field_46561
backgroundScreen
f_302750_
private final ResourceLocation
x
image
field_46562
image
f_303685_
private final Component
y
message
field_46563
message
f_302929_
private final List<PopupScreen$ButtonOption>
z
buttons
field_46564
buttons
f_303229_
private final Runnable
A
onClose
field_46565
onClosed
f_302877_
private final int
B
contentWidth
field_46566
innerWidth
f_303828_
private final LinearLayout
C
layout
field_46567
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
aL_()
added()
method_49589()
onDisplayed()
m_274333_()
protected void
aT_()
init()
method_25426()
init()
m_7856_()
private LinearLayout
m()
buildButtonRow()
method_54124()
createButtonLayout()
m_306027_()
protected void
c()
repositionElements()
method_48640()
initTabNavigation()
m_267719_()
public void
b(fhz 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)
renderBackground(DrawContext 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()
getNarratedTitle()
m_142562_()
public void
d()
onClose()
method_25419()
close()
m_7379_()