net.minecraft.client.gui.components

public class PopupScreen$Builder

fjo$a
net.minecraft.client.gui.components.PopupScreen$Builder
net.minecraft.class_8816$class_8817
net.minecraft.client.gui.screen.PopupScreen$Builder
net.minecraft.src.C_301873_$C_302095_

Field summary

Modifier and TypeField
private final Screen
a
backgroundScreen
field_46568
backgroundScreen
f_303166_
private final Component
b
title
field_46569
title
f_302854_
private Component
c
message
field_46570
message
f_302432_
private int
d
width
field_46571
width
f_303769_
private ResourceLocation
e
image
field_46572
image
f_302994_
private final List<PopupScreen$ButtonOption>
f
buttons
field_46573
buttons
f_302895_
private Runnable
g
onClose
field_46574
onClosed
f_303530_

Constructor summary

ModifierConstructor
public (Screen backgroundScreen, Component title)

Method summary

Modifier and TypeMethod
public PopupScreen$Builder
a(int arg0)
setWidth(int arg0)
method_54126(int arg0)
width(int width)
m_305535_(int arg0)
public PopupScreen$Builder
a(akr arg0)
setImage(ResourceLocation arg0)
method_54127(class_2960 arg0)
image(Identifier image)
m_307765_(C_5265_ arg0)
public PopupScreen$Builder
a(wz arg0)
setMessage(Component arg0)
method_54129(class_2561 arg0)
message(Text message)
m_307758_(C_4996_ arg0)
public PopupScreen$Builder
a(wz arg0, Consumer<fjo> arg1)
addButton(Component arg0, Consumer<PopupScreen> arg1)
method_54130(class_2561 arg0, Consumer<class_8816> arg1)
button(Text message, Consumer<PopupScreen> action)
m_305980_(C_4996_ p_311142_, Consumer<C_301873_> arg1)
public PopupScreen$Builder
a(Runnable arg0)
onClose(Runnable arg0)
method_54128(Runnable arg0)
onClosed(Runnable onClosed)
m_304891_(Runnable arg0)
public PopupScreen
a()
build()
method_54125()
build()
m_307029_()