net.minecraft.client.gui.widget

public abstract class TextIconButtonWidget

extends ButtonWidget

All mapped superinterfaces:

Drawable, Element, Navigable, Widget, Selectable, Narratable

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

Field summary

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

Constructor summary

ModifierConstructor
(int width, int height, Text message, int textureWidth, int textureHeight, ButtonTextures textures, ButtonWidget$PressAction onPress, Text tooltip, ButtonWidget$NarrationSupplier narrationSupplier)

Method summary

Modifier and TypeMethod
protected void
a(gir o, int o, int arg2)
renderSprite(GuiGraphics arg0, int arg1, int arg2)
method_75817(class_332 arg0, int arg1, int arg2)
drawIcon(DrawContext context, int x, int y)
m_lirmvhge(C_sedilmty arg0, int arg1, int arg2)
m_lirmvhge(GuiGraphics graphics, int arg1, int arg2)
m_442806_(C_279497_ p_452781_, int p_452704_, int arg2)
public static TextIconButtonWidget$Builder
a(yh o, gje$c o, boolean o)
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_eeuzpwym(C_rdaqiwdt arg0, C_buwziidm$C_zlxjklbn arg1, boolean arg2)
builder(Text message, ButtonWidget$PressAction action, boolean hideMessage)
m_295007_(C_4996_ p_299964_, C_3451_$C_3452_ p_301369_, boolean p_298501_)