net.minecraft.client.gui.components

public class PopupScreen$Builder

ftl$a
net.minecraft.client.gui.components.PopupScreen$Builder
net.minecraft.class_8816$class_8817
net.minecraft.unmapped.C_pzklyvtm$C_pxmroanf
net.minecraft.client.gui.screen.PopupScreen$Builder
net.minecraft.client.gui.screen.DialogScreen$Builder

Field summary

Modifier and TypeField
private final Screen
a
backgroundScreen
field_46568
f_ejdgfqtn
backgroundScreen
screen
private final Component
b
title
field_46569
f_ogrphzxj
title
title
private Component
c
message
field_46570
f_zwdlfftw
message
translationKey
private int
d
width
field_46571
f_vavnamwm
width
width
private ResourceLocation
e
image
field_46572
f_zrkpywjb
image
image
private final List<PopupScreen$ButtonOption>
f
buttons
field_46573
f_khfkgdzm
buttons
buttons
private Runnable
g
onClose
field_46574
f_oiulkhxd
onClosed
callback

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)
m_jldfpuis(int arg0)
width(int width)
width(int width)
public PopupScreen$Builder
a(alg arg0)
setImage(ResourceLocation arg0)
method_54127(class_2960 arg0)
m_wxlbcrdb(C_ncpywfca arg0)
image(Identifier image)
setImage(Identifier image)
public PopupScreen$Builder
a(wy arg0)
setMessage(Component arg0)
method_54129(class_2561 arg0)
m_zrxyzcgq(C_rdaqiwdt arg0)
message(Text message)
setTranslationKey(Text translationKey)
public PopupScreen$Builder
a(wy arg0, Consumer<ftl> arg1)
addButton(Component arg0, Consumer<PopupScreen> arg1)
method_54130(class_2561 arg0, Consumer<class_8816> arg1)
m_ofbcrpnz(C_rdaqiwdt arg0, Consumer<C_pzklyvtm> arg1)
button(Text message, Consumer<PopupScreen> action)
addButton(Text text, Consumer<DialogScreen> consumer)
public PopupScreen$Builder
a(Runnable arg0)
onClose(Runnable arg0)
method_54128(Runnable arg0)
m_dlgchgll(Runnable arg0)
onClosed(Runnable onClosed)
setCallback(Runnable callback)
public PopupScreen
a()
build()
method_54125()
m_zmcymjnp()
build()
getScreen()