net.minecraft.client.gui.components

public class Button

extends AbstractButton

All mapped superinterfaces:

Widget, GuiEventListener, NarratableEntry, NarrationSupplier

egs
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_
protected final Button$OnPress
t
onPress
field_22767
onPress
f_93717_
protected final Button$OnTooltip
u
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(dzt 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(dzt 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(eiu arg0)
updateNarration(NarrationElementOutput arg0)
method_37020(class_6382 arg0)
appendNarrations(NarrationMessageBuilder arg0)
m_142291_(C_141608_ arg0)