net.minecraft.client.gui.components

public abstract class SpriteIconButton

extends Button

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fjr
net.minecraft.client.gui.components.SpriteIconButton
net.minecraft.class_8662
net.minecraft.client.gui.widget.TextIconButtonWidget
net.minecraft.src.C_290288_

Field summary

Modifier and TypeField
protected final ResourceLocation
a
sprite
field_45379
texture
f_291123_
protected final int
b
spriteWidth
field_45380
textureWidth
f_290307_
protected final int
c
spriteHeight
field_45381
textureHeight
f_291465_

Constructor summary

ModifierConstructor
(int width, int height, Component message, int textureWidth, int textureHeight, ResourceLocation texture, Button$OnPress onPress, Button$CreateNarration narrationSupplier)

Method summary

Modifier and TypeMethod
public static SpriteIconButton$Builder
a(wz arg0, fim$c arg1, boolean arg2)
builder(Component arg0, Button$OnPress arg1, boolean arg2)
method_52723(class_2561 arg0, class_4185$class_4241 arg1, boolean arg2)
builder(Text text, ButtonWidget$PressAction onPress, boolean hideLabel)
m_295007_(C_4996_ p_299964_, C_3451_$C_3452_ p_301369_, boolean p_298501_)