net.minecraft.client.gui.components

public class ImageButton

extends Button

All mapped superinterfaces:

Widget, GuiEventListener

dlr
net.minecraft.client.gui.components.ImageButton
net.minecraft.class_344
net.minecraft.client.gui.widget.TexturedButtonWidget
net.minecraft.client.gui.widget.button.ImageButton

Field summary

Modifier and TypeField
private final ResourceLocation
a
resourceLocation
field_2127
texture
field_191750_o
private final int
b
xTexStart
field_2126
u
field_191747_p
private final int
c
yTexStart
field_2125
v
field_191748_q
private final int
d
yDiffTex
field_19079
hoveredVOffset
field_191749_r
private final int
e
textureWidth
field_2124
textureWidth
field_212935_e
private final int
v
textureHeight
field_19080
textureHeight
field_212936_f

Constructor summary

ModifierConstructor
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 arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, ResourceLocation arg7, int arg8, int arg9, Button$OnPress arg10, Component arg11)
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 arg11, Component arg12)

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)
func_191746_c(int arg0, int arg1)
public void
b(dfm 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)
func_230431_b_(MatrixStack arg0, int arg1, int arg2, float arg3)