net.minecraft.client.gui.components

public class PopupScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fpi
net.minecraft.client.gui.components.PopupScreen
net.minecraft.class_8816
net.minecraft.client.gui.screen.PopupScreen

Field summary

Modifier and TypeField
private static final ResourceLocation
a
BACKGROUND_SPRITE
field_46554
BACKGROUND_TEXTURE
private static final int
b
SPACING
field_46555
VERTICAL_SPACING
private static final int
c
BG_BORDER_WITH_SPACING
field_46556
MARGIN_WIDTH
private static final int
d
BUTTON_SPACING
field_46557
BUTTON_HORIZONTAL_SPACING
private static final int
s
IMAGE_SIZE_X
field_46558
IMAGE_WIDTH
private static final int
u
IMAGE_SIZE_Y
field_46559
IMAGE_HEIGHT
private static final int
v
POPUP_DEFAULT_WIDTH
field_46560
DEFAULT_WIDTH
private final Screen
w
backgroundScreen
field_46561
backgroundScreen
private final ResourceLocation
x
image
field_46562
image
private final Component
y
message
field_46563
message
private final List<PopupScreen$ButtonOption>
z
buttons
field_46564
buttons
private final Runnable
A
onClose
field_46565
onClosed
private final int
B
contentWidth
field_46566
innerWidth
private final LinearLayout
C
layout
field_46567
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
aK_()
added()
method_49589()
onDisplayed()
protected void
aT_()
init()
method_25426()
init()
private LinearLayout
l()
buildButtonRow()
method_54124()
createButtonLayout()
protected void
c()
repositionElements()
method_48640()
refreshWidgetPositions()
public void
b(fns 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)
public Component
i()
getNarrationMessage()
method_25435()
getNarratedTitle()
public void
aP_()
onClose()
method_25419()
close()