net.minecraft.client.gui.components

public class SpriteIconButton$Builder

etu$a
net.minecraft.client.gui.components.SpriteIconButton$Builder
net.minecraft.class_8662$class_8663
net.minecraft.client.gui.widget.TextIconButtonWidget$Builder
net.minecraft.src.C_290288_$C_290134_

Field summary

Modifier and TypeField
private final Component
a
message
field_45382
text
f_290492_
private final Button$OnPress
b
onPress
field_45383
onPress
f_290769_
private final boolean
c
iconOnly
field_45384
hideText
f_291539_
private int
d
width
field_45385
width
f_291851_
private int
e
height
field_45386
height
f_291403_
private ResourceLocation
f
sprite
field_45387
texture
f_291198_
private int
g
spriteWidth
field_45388
textureWidth
f_291516_
private int
h
spriteHeight
field_45389
textureHeight
f_291538_

Constructor summary

ModifierConstructor
public (Component text, Button$OnPress onPress, boolean hideText)

Method summary

Modifier and TypeMethod
public SpriteIconButton$Builder
a(int arg0)
width(int arg0)
method_52725(int arg0)
width(int width)
m_294487_(int arg0)
public SpriteIconButton$Builder
a(int arg0, int arg1)
size(int arg0, int arg1)
method_52726(int arg0, int arg1)
dimension(int width, int height)
m_295750_(int p_297726_, int arg1)
public SpriteIconButton$Builder
a(aew arg0, int arg1, int arg2)
sprite(ResourceLocation arg0, int arg1, int arg2)
method_52727(class_2960 arg0, int arg1, int arg2)
texture(Identifier texture, int width, int height)
m_295175_(C_5265_ p_301308_, int p_297593_, int arg2)
public SpriteIconButton
a()
build()
method_52724()
build()
m_292974_()