net.minecraft.client.gui.components

public class PopupScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

eyi
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
k
BUTTON_SPACING
field_46557
BUTTON_HORIZONTAL_SPACING
f_303197_
private static final int
l
IMAGE_SIZE_X
field_46558
IMAGE_WIDTH
f_302379_
private static final int
m
IMAGE_SIZE_Y
field_46559
IMAGE_HEIGHT
f_303011_
private static final int
n
POPUP_DEFAULT_WIDTH
field_46560
DEFAULT_WIDTH
f_302717_
private final Screen
o
backgroundScreen
field_46561
backgroundScreen
f_302750_
private final ResourceLocation
p
image
field_46562
image
f_303685_
private final Component
q
message
field_46563
message
f_302929_
private final List<PopupScreen$ButtonOption>
r
buttons
field_46564
buttons
f_303229_
private final Runnable
t
onClose
field_46565
onClosed
f_302877_
private final int
u
contentWidth
field_46566
innerWidth
f_303828_
private final LinearLayout
v
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
aF_()
added()
method_49589()
onDisplayed()
m_274333_()
protected void
aN_()
init()
method_25426()
init()
m_7856_()
private LinearLayout
n()
buildButtonRow()
method_54124()
createButtonLayout()
m_306027_()
protected void
c()
repositionElements()
method_48640()
initTabNavigation()
m_267719_()
public void
b(ewu 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
h()
getNarrationMessage()
method_25435()
getNarratedTitle()
m_142562_()
public void
aE_()
onClose()
method_25419()
close()
m_7379_()