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
private final Button.OnPress
private ResourceLocation
private int
private int
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
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
-
-
Constructor Details
-
Builder
-
-
Method Details
-
width
-
size
-
sprite
-
build
-