net.minecraft.client.gui.components

public abstract class SpriteIconButton

extends Button

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fpz
net.minecraft.client.gui.components.SpriteIconButton
net.minecraft.class_8662
net.minecraft.client.gui.widget.TextIconButtonWidget

Field summary

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

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(wp arg0, fou$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)