net.minecraft.client.gui.components

public class PopupScreen$Builder

fpi$a
net.minecraft.client.gui.components.PopupScreen$Builder
net.minecraft.class_8816$class_8817
net.minecraft.client.gui.screen.PopupScreen$Builder

Field summary

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

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)
public PopupScreen$Builder
a(alz arg0)
setImage(ResourceLocation arg0)
method_54127(class_2960 arg0)
image(Identifier image)
public PopupScreen$Builder
a(xv arg0)
setMessage(Component arg0)
method_54129(class_2561 arg0)
message(Text message)
public PopupScreen$Builder
a(xv arg0, Consumer<fpi> arg1)
addButton(Component arg0, Consumer<PopupScreen> arg1)
method_54130(class_2561 arg0, Consumer<class_8816> arg1)
button(Text message, Consumer<PopupScreen> action)
public PopupScreen$Builder
a(Runnable arg0)
onClose(Runnable arg0)
method_54128(Runnable arg0)
onClosed(Runnable onClosed)
public PopupScreen
a()
build()
method_54125()
build()