net.minecraft.client.gui.components

public class PopupScreen$Builder

fpw$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
net.minecraft.src.C_301873_$C_302095_

Field summary

Modifier and TypeField
private final Screen
a
backgroundScreen
field_46568
f_ejdgfqtn
backgroundScreen
screen
f_303166_
private final Component
b
title
field_46569
f_ogrphzxj
title
title
f_302854_
private Component
c
message
field_46570
f_zwdlfftw
message
translationKey
f_302432_
private int
d
width
field_46571
f_vavnamwm
width
width
f_303769_
private ResourceLocation
e
image
field_46572
f_zrkpywjb
image
image
f_302994_
private final List<PopupScreen$ButtonOption>
f
buttons
field_46573
f_khfkgdzm
buttons
buttons
f_302895_
private Runnable
g
onClose
field_46574
f_oiulkhxd
onClosed
callback
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)
m_jldfpuis(int arg0)
width(int width)
width(int width)
m_305535_(int arg0)
public PopupScreen$Builder
a(akv arg0)
setImage(ResourceLocation arg0)
method_54127(class_2960 arg0)
m_wxlbcrdb(C_ncpywfca arg0)
image(Identifier image)
setImage(Identifier image)
m_307765_(C_5265_ arg0)
public PopupScreen$Builder
a(wp arg0)
setMessage(Component arg0)
method_54129(class_2561 arg0)
m_zrxyzcgq(C_rdaqiwdt arg0)
message(Text message)
setTranslationKey(Text translationKey)
m_307758_(C_4996_ arg0)
public PopupScreen$Builder
a(wp arg0, Consumer<fpw> 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)
m_305980_(C_4996_ p_311142_, Consumer<C_301873_> arg1)
public PopupScreen$Builder
a(Runnable arg0)
onClose(Runnable arg0)
method_54128(Runnable arg0)
m_dlgchgll(Runnable arg0)
onClosed(Runnable onClosed)
setCallback(Runnable callback)
m_304891_(Runnable arg0)
public PopupScreen
a()
build()
method_54125()
m_zmcymjnp()
build()
getScreen()
m_307029_()