net.minecraft.client.gui.components

public class ImageButton

extends Button

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fos
net.minecraft.client.gui.components.ImageButton
net.minecraft.class_344
net.minecraft.client.gui.widget.TexturedButtonWidget

Field summary

Modifier and TypeField
protected final WidgetSprites
a
sprites
field_45356
textures

Constructor summary

ModifierConstructor
public (int x, int y, int width, int height, WidgetSprites textures, Button$OnPress pressAction)
public (int x, int y, int width, int height, WidgetSprites textures, Button$OnPress pressAction, Component text)
public (int width, int height, WidgetSprites textures, Button$OnPress pressAction, Component text)

Method summary

Modifier and TypeMethod
public void
b(fns arg0, int arg1, int arg2, float arg3)
renderWidget(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_48579(class_332 arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)