net.minecraft.client.gui.components

public class TextAndImageButton

extends Button

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

epg
net.minecraft.client.gui.components.TextAndImageButton
net.minecraft.class_8084
net.minecraft.unmapped.C_zvtfkive
net.minecraft.client.gui.widget.IconButtonWidget
net.minecraft.client.gui.widget.ScrollableTexturedButtonWidget
net.minecraft.src.C_267347_

Field summary

Modifier and TypeField
protected final ResourceLocation
a
resourceLocation
field_43070
f_vbwdjclv
iconTexture
texture
f_273941_
protected final int
b
xTexStart
field_43071
f_oaizzsuu
iconU
textureU
f_273904_
protected final int
c
yTexStart
field_43072
f_tebiddvp
iconV
textureV
f_273857_
protected final int
d
yDiffTex
field_43073
f_skjrgyjz
iconHoveredVOffset
hoveredVOffset
f_273911_
protected final int
e
textureWidth
field_43074
f_inutntok
iconTextureWidth
textureRegionWidth
f_273880_
protected final int
f
textureHeight
field_43075
f_ozinceaj
iconTextureHeight
textureRegionHeight
f_273871_
private final int
E
xOffset
field_42123
f_abcdmkpw
iconXOffset
f_267392_
private final int
F
yOffset
field_42124
f_gnfpsykm
iconYOffset
f_267457_
private final int
G
usedTextureWidth
field_42125
f_qcnpmkso
iconWidth
textureWidth
f_267436_
private final int
H
usedTextureHeight
field_42126
f_ynonyjcu
iconHeight
textureHeight
f_267434_

Constructor summary

ModifierConstructor
(Component message, int iconU, int iconV, int iconXOffset, int iconYOffset, int iconHoveredVOffset, int iconWidth, int iconHeight, int iconTextureWidth, int iconTextureHeight, ResourceLocation iconTexture, Button$OnPress onPress)

Method summary

Modifier and TypeMethod
public void
b(ehe arg0, int arg1, int arg2, float arg3)
renderWidget(PoseStack arg0, int arg1, int arg2, float arg3)
method_48579(class_4587 arg0, int arg1, int arg2, float arg3)
m_mxhoikgj(C_cnszsxvd arg0, int arg1, int arg2, float arg3)
renderButton(MatrixStack arg0, int arg1, int arg2, float arg3)
drawWidget(MatrixStack arg0, int arg1, int arg2, float arg3)
m_87963_(C_3181_ p_268172_, int p_268131_, int p_268056_, float arg3)
public void
a(ehe arg0, enp arg1, int arg2)
renderString(PoseStack arg0, Font arg1, int arg2)
method_48589(class_4587 arg0, class_327 arg1, int arg2)
m_lyfbpxhh(C_cnszsxvd arg0, C_mavozmpp arg1, int arg2)
drawMessage(MatrixStack arg0, TextRenderer arg1, int arg2)
drawScrollableText(MatrixStack arg0, TextRenderer arg1, int arg2)
m_274375_(C_3181_ p_275206_, C_3429_ p_275610_, int arg2)
private int
a()
getXOffset()
method_48600()
m_frdvplaq()
getIconX()
getXPosition()
m_267702_()
private int
b()
getYOffset()
method_48602()
m_anaynmjc()
getIconY()
getYPosition()
m_267831_()
public static TextAndImageButton$Builder
a(tj arg0, add arg1, eoc$c arg2)
builder(Component arg0, ResourceLocation arg1, Button$OnPress arg2)
method_48601(class_2561 arg0, class_2960 arg1, class_4185$class_4241 arg2)
m_hfmnimto(C_rdaqiwdt arg0, C_ncpywfca arg1, C_buwziidm$C_zlxjklbn arg2)
builder(Text message, Identifier texture, ButtonWidget$PressAction pressAction)
builder(Text message, Identifier texture, ButtonWidget$PressAction action)
m_267772_(C_4996_ p_268304_, C_5265_ p_268277_, C_3451_$C_3452_ p_268297_)