Class PopupScreen.Builder
java.lang.Object
net.minecraft.client.gui.components.PopupScreen.Builder
- Enclosing class:
PopupScreen
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Screen
private final List<PopupScreen.ButtonOption>
private ResourceLocation
private Component
private Runnable
private final Component
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddButton
(Component p_304733_, Consumer<PopupScreen> p_304537_) build()
setImage
(ResourceLocation p_304597_) setMessage
(Component p_304550_) setWidth
(int p_304576_)
-
Field Details
-
backgroundScreen
-
title
-
message
-
width
private int width -
image
-
buttons
-
onClose
-
-
Constructor Details
-
Builder
-
-
Method Details
-
setWidth
-
setImage
-
setMessage
-
addButton
-
onClose
-
build
-