net.minecraft.client.gui.components

public class ImageButton

extends Button

All mapped superinterfaces:

Widget, GuiEventListener, NarratableEntry, NarrationSupplier

ean
net.minecraft.client.gui.components.ImageButton
net.minecraft.class_344
net.minecraft.client.gui.widget.TexturedButtonWidget
net.minecraft.src.C_3465_

Field summary

Modifier and TypeField
private final ResourceLocation
a
resourceLocation
field_2127
texture
f_94223_
private final int
b
xTexStart
field_2126
u
f_94224_
private final int
c
yTexStart
field_2125
v
f_94225_
private final int
d
yDiffTex
field_19079
hoveredVOffset
f_94226_
private final int
e
textureWidth
field_2124
textureWidth
f_94227_
private final int
u
textureHeight
field_19080
textureHeight
f_94228_

Constructor summary

ModifierConstructor
public (int x, int y, int width, int height, int u, int v, ResourceLocation texture, Button$OnPress pressAction)
public (int x, int y, int width, int height, int u, int v, int hoveredVOffset, ResourceLocation texture, Button$OnPress pressAction)
public (int x, int y, int width, int height, int u, int v, int hoveredVOffset, ResourceLocation texture, int textureWidth, int textureHeight, Button$OnPress pressAction)
public (int x, int y, int width, int height, int u, int v, int hoveredVOffset, ResourceLocation texture, int textureWidth, int textureHeight, Button$OnPress pressAction, Component text)
public (int x, int y, int width, int height, int u, int v, int hoveredVOffset, ResourceLocation texture, int textureWidth, int textureHeight, Button$OnPress pressAction, Button$OnTooltip tooltipSupplier, Component text)

Method summary

Modifier and TypeMethod
public void
a(int arg0, int arg1)
setPosition(int arg0, int arg1)
method_1893(int arg0, int arg1)
setPos(int x, int y)
m_94278_(int p_94280_, int arg1)
public void
b(dtm arg0, int arg1, int arg2, float arg3)
renderButton(PoseStack arg0, int arg1, int arg2, float arg3)
method_25359(class_4587 arg0, int arg1, int arg2, float arg3)
renderButton(MatrixStack arg0, int arg1, int arg2, float arg3)
m_6303_(C_3181_ p_94283_, int p_94284_, int p_94285_, float arg3)