net.minecraft.client.gui.components

public class Button

extends AbstractButton

All mapped superinterfaces:

Widget, GuiEventListener

dni
net.minecraft.client.gui.components.Button
net.minecraft.class_4185
net.minecraft.client.gui.widget.ButtonWidget
net.minecraft.client.gui.widget.button.Button

Field summary

Modifier and TypeField
public static final Button$OnTooltip
s
NO_TOOLTIP
field_25035
EMPTY
field_238486_s_
protected final Button$OnPress
t
onPress
field_22767
onPress
field_230697_t_
protected final Button$OnTooltip
u
onTooltip
field_25036
tooltipSupplier
field_238487_u_

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
b()
onPress()
method_25306()
onPress()
func_230930_b_()
public void
b(dhl 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)
public void
a(dhl 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)
func_230443_a_(MatrixStack arg0, int arg1, int arg2)