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_309455_, Consumer<PopupScreen> p_311142_) build()
setImage
(ResourceLocation p_309878_) setMessage
(Component p_309841_) setWidth
(int p_311856_)
-
Field Details
-
backgroundScreen
-
title
-
message
-
width
private int width -
image
-
buttons
-
onClose
-
-
Constructor Details
-
Builder
-
-
Method Details
-
setWidth
-
setImage
-
setMessage
-
addButton
-
onClose
-
build
-