net.minecraft.client.gui.components

public abstract class AbstractButton

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fnw
net.minecraft.client.gui.components.AbstractButton
net.minecraft.class_4264
net.minecraft.client.gui.widget.PressableWidget

Field summary

Modifier and TypeField
protected static final int
e
TEXT_MARGIN
field_43050
field_43050
private static final WidgetSprites
a
SPRITES
field_45339
TEXTURES

Constructor summary

ModifierConstructor
public (int arg0, int arg1, int arg2, int arg3, Component arg4)

Method summary

Modifier and TypeMethod
public abstract void
b()
onPress()
method_25306()
onPress()
protected void
b(fns arg0, int arg1, int arg2, float arg3)
renderWidget(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_48579(class_332 arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)
public void
a(fns arg0, fnq arg1, int arg2)
renderString(GuiGraphics arg0, Font arg1, int arg2)
method_48589(class_332 arg0, class_327 arg1, int arg2)
drawMessage(DrawContext context, TextRenderer textRenderer, int color)
public void
a(double arg0, double arg1)
onClick(double arg0, double arg1)
method_25348(double arg0, double arg1)
onClick(double arg0, double arg1)
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)