net.minecraft.client.gui.components

public abstract class SpriteIconButton

extends Button

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fil
net.minecraft.client.gui.components.SpriteIconButton
net.minecraft.class_8662
net.minecraft.unmapped.C_ckkrwxej
net.minecraft.client.gui.widget.TextIconButtonWidget
net.minecraft.client.gui.widget.button.SpriteButtonWidget
net.minecraft.src.C_290288_

Field summary

Modifier and TypeField
protected final ResourceLocation
a
sprite
field_45379
f_dctwqczk
texture
texture
f_291123_
protected final int
b
spriteWidth
field_45380
f_oiyqbthy
textureWidth
textureWidth
f_290307_
protected final int
c
spriteHeight
field_45381
f_rivkluow
textureHeight
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(xp arg0, fhg$c arg1, boolean arg2)
builder(Component arg0, Button$OnPress arg1, boolean arg2)
method_52723(class_2561 arg0, class_4185$class_4241 arg1, boolean arg2)
m_eeuzpwym(C_rdaqiwdt arg0, C_buwziidm$C_zlxjklbn arg1, boolean arg2)
builder(Text text, ButtonWidget$PressAction onPress, boolean hideLabel)
builder(Text message, ButtonWidget$PressAction action, boolean displayMessage)
m_295007_(C_4996_ p_299964_, C_3451_$C_3452_ p_301369_, boolean p_298501_)