Class SpriteIconButton.Builder
java.lang.Object
net.minecraft.client.gui.components.SpriteIconButton.Builder
- Enclosing class:
SpriteIconButton
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private final boolean
private final Component
(package private) Button.CreateNarration
private final Button.OnPress
private ResourceLocation
private int
private int
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
narration
(Button.CreateNarration p_328959_) size
(int p_301312_, int p_297726_) sprite
(ResourceLocation p_298738_, int p_301308_, int p_297593_) width
(int p_298805_)
-
Field Details
-
message
-
onPress
-
iconOnly
private final boolean iconOnly -
width
private int width -
height
private int height -
sprite
-
spriteWidth
private int spriteWidth -
spriteHeight
private int spriteHeight -
narration
-
-
Constructor Details
-
Builder
-
-
Method Details
-
width
-
size
-
sprite
-
narration
-
build
-