Class Button.Builder
java.lang.Object
net.minecraft.client.gui.components.Button.Builder
- Enclosing class:
- Button
-
Field Summary
Modifier and TypeFieldDescriptionprivate Button.CreateNarration
private int
private final Component
private final Button.OnPress
private Tooltip
private int
private int
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbounds
(int p_254166_, int p_253872_, int p_254522_, int p_253985_) build()
build
(Function<Button.Builder, Button> builder) createNarration
(Button.CreateNarration p_253638_) pos
(int p_254538_, int p_254216_) size
(int p_253727_, int p_254457_) width
(int p_254259_)
-
Field Details
-
message
-
onPress
-
tooltip
-
x
private int x -
y
private int y -
width
private int width -
height
private int height -
createNarration
-
-
Constructor Details
-
Builder
-
-
Method Details
-
pos
-
width
-
size
-
bounds
-
tooltip
-
createNarration
-
build
-
build
-