net.minecraft.client.gui.components

public class Button

extends AbstractButton

All mapped superinterfaces:

Widget, GuiEventListener, NarratableEntry, NarrationSupplier

ehp
net.minecraft.client.gui.components.Button
net.minecraft.class_4185
net.minecraft.client.gui.widget.ButtonWidget
net.minecraft.src.C_3451_

Field summary

Modifier and TypeField
public static final Button$OnTooltip
s
NO_TOOLTIP
field_25035
EMPTY
f_93716_
public static final int
t
SMALL_WIDTH
field_39499
field_39499
f_238663_
public static final int
u
DEFAULT_WIDTH
field_39500
field_39500
f_238716_
public static final int
v
DEFAULT_HEIGHT
field_39501
field_39501
f_238808_
protected final Button$OnPress
w
onPress
field_22767
onPress
f_93717_
protected final Button$OnTooltip
x
onTooltip
field_25036
tooltipSupplier
f_93718_

Constructor summary

ModifierConstructor
public (int x, int y, int width, int height, Component message, Button$OnPress onPress)
public (int x, int y, int width, int height, Component message, Button$OnPress onPress, Button$OnTooltip tooltipSupplier)

Method summary

Modifier and TypeMethod
public void
d()
onPress()
method_25306()
onPress()
m_5691_()
public void
b(eaq 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_93747_, int p_93748_, int p_93749_, float arg3)
public void
a(eaq arg0, int arg1, int arg2)
renderToolTip(PoseStack arg0, int arg1, int arg2)
method_25352(class_4587 arg0, int arg1, int arg2)
renderTooltip(MatrixStack arg0, int arg1, int arg2)
m_7428_(C_3181_ p_93737_, int p_93738_, int arg2)
public void
a(ejv arg0)
updateNarration(NarrationElementOutput arg0)
method_37020(class_6382 arg0)
appendNarrations(NarrationMessageBuilder arg0)
m_142291_(C_141608_ arg0)